March, 17 2020
Last week I sent out a getting started mail to everyone following my Laravel series for beginners. I mentioned PHPSandbox.io for those who that don't want to setup a local development environment.
So whats this PHPSandbox all about?
PHPSandbox is basically a play ground for PHP developers. It has lots of handy features. Its a place where you can try out code snippets, PHP packages. Its the coolest way to share PHP code snippets and you can run it from anywhere its embedded.
PHPSandbox is an online Code Sandbox made for PHP.
With PHPSandbox you can create a PHP CLI app, PHP web app or Laravel app.
In this article we are going to be focusing on creating a Laravel application with PHPSandbox.
That's me trying out Zttp, a handy PHP package by Adam Wathan.
Every of your code snippets on PHPSandbox is saved as a notebook for you. To get started, go to PHPSandbox.io and launch your own notebook. Make sure you signup with your GitHub account so your notebook won't get lost.
PHPSandbox supports Laravel. This feature according to Bosunski, is still in development but its very cool. You can now run a full-fledged Laravel application without setting up a local development environment. Hurray!
Laravel in PHPSandbox
I know you already have lots of questions about requiring PHP/Laravel packages, creating .env files and running artisan commands. I saw it coming :)
You can require PHP/Laravel packages. Doing this is very simple with PHPSandbox and there is no need for composer install, everything is all worked out for you.
You can edit your .env file variables via PHPSandbox UI.
Running Laravel artisan commands is done via PHPSandbox UI
I think this is the sweetest part of PHPSandbox. You can import your Laravel project from GitHub and continue working on them on the from here. This is cool :)
Currently you can only import a Laravel project.
Lots of features are still in beta and more are still coming to PHPSandbox. If you are following my Laravel series and you are having a hard time setting up a local development environment, maybe you should give PHPSandbox a trial.
Special thanks to Bosunski and his team for all the works and effort they have been putting into this project. THANK GUYS!
Be the first to hear about anything I publish, launch, or think is helpful for you. Subscribe here
Litehost is a web hosting platform for PHP & Laravel developers with Composer, Git, PHP & CLI pre-installed. Try it now