SSH Upgrade: PHP CLI and Git
Work in the cloud
So, what's your benefit exactly? If you want, you can give up your localhost now for good. With PHP on the shell, you can run your favorite framework CLIs directly in your App's SSH account. And there are many:
- artisan from Laravel
- Symfony brings it's console
- Every framework using Doctrine comes with doctrine-orm
- CakePHP provides the cake command line tool
- Yii Framework comes with yiic
- FuelPHP has oil (what else?)
- Lithium gives you li3
Of course, this is only the beginning. You can now use any Phar tool you like. For example Composer, which is already part of our deployment, can now be used in sub directories. Or have you heard of Phing? Great tool! But that's not all: Git on the console helps you with your legacy dependencies (that is: before composer) ⇒ use sub modules or private repos. Naturally, you still can use your localhost - but don't have to, if it's inconvenient.
Limits
Yeah, there are still some. Your App's SSH account is in a shared environment, and we have to keep up the quality. So you have limited memory (~300MB) and running workers is still not permitted. The alternative would have been to increase base-prices by a lot to assure we can pre-allocate sufficient resources for everybody. But hang in there, there will be dedicated SSH servers in our Enterprise upgrade. With those, you also can schedule cron-jobs and can choose how much memory you want.