Simply copy/symlink console.php into you www directory and open it in browser.
- Just one file.
- Navigation throw cd commands.
- Commands aliases and patterns.
- List of allowed commands.
- List of denied commands.
- Digest HTTP Authentication.
- Themes.
- Suggest of most commonly used commands.
- History of commands.
- Mobile support.
PHP must by able to use function "proc_open". Also chown .git/ folder to apache user to use git.
You can run console.php from another folder by using configuration file.
Copy console.config.php.example into console.config.php, place it (with your settings inside) near console.php
If you want use console not from www-data
use sudo.
Set sudo to not asking passwords. Open visudo and add:
www-data ALL=(user) NOPASSWD:ALL
If you want all commands run by sudo, change $commands like this:
$commands = array(
'*' => "sudo -u user $1",
);
$commands = array(
'symfony*' => "sudo -u user TERM=xterm app/console$1",
'composer*' => "sudo -u user TERM=xterm /usr/local/bin/composer$1",
'git*' => "sudo -u user /usr/local/git/bin/git$1",
'*' => "sudo -u user $1",
);
Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
console's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.