CodeSpace
Manages your local development projects and code repositories., (*1)
When developing projects, especially micro-services, we often end up with hundres of code repositories on our dev machines. CodeSpace helps to manage these repositories and do batch operations on them easily.
You can use it as a stand-alone tool. There is no need to integrate into any project., (*2)
CodeSpace is inspired by the LinkORB Projex and Hotel., (*3)
Features
Project scanner
Recursively scans the giving directory to find projects/repositories.
Scan the code repositories and show output to the console bin/codespace scan [--path=~/git]
, (*4)
Export projects
- Export to HTML
bin/codespace export:html /path/to/the/target.html [--path=~/git]
- Export to CSV
bin/codespace export:csv /path/to/the/target.csv [--path=~/git]
Auto-Generate web-server config files
With the export feature, we can easily generate Nginx server configuration files for multiple projects.
It automatically detects your OS and figure out where to put the configuration files and log files; automatically detects the type of project and point to the correct web directory., (*5)
bin/codespace export:nginx-conf [--path=~/git] [--apply]
* At the moment, for OS support, only MacOS with Homebrew and Linux are supported. Only Symfony 3 and 4 projects are supported. Contributions needed., (*6)
Do git fetch on all projects
When the --pull
option is used, the git pull
command is executed instead of the git fetch
command., (*7)
bin/codespace git fetch [--path=~/git] [--pull]
Auto-update your favorite IDE's project manager
Scan the repositories and make them available to your IDE's project manager plugins. Now Atom and VSCode are supported.
The project managers are:, (*8)
https://atom.io/packages/project-manager
https://marketplace.visualstudio.com/items?itemName=alefragnani.project-manager
Commands:
Without specifying the --ide=
option, both Atom and VSCode are updated., (*9)
bin/codespace ide:pm [--ide=atom] [--path=~/git]
Installation:
Use the source code:, (*10)
composer install
Use the phar:, (*11)
php code-space.phar
Use
Base command:, (*12)
`bin/codespace`
# or
php code-space.phar
You can view all available commands by running the base command., (*13)
License
Please refer to the included LICENSE.md file, (*14)