Last active
August 29, 2015 14:23
-
-
Save fraank/de1107abdd1a66cf8d2f to your computer and use it in GitHub Desktop.
laravel cheatsheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add laravel Installer: | |
composer global require "laravel/installer=~1.1" | |
add path for laravel-command | |
PATH=$PATH:~/.composer/vendor/bin | |
PATH=~/.composer/vendor/bin:$PATH | |
Now you can do.. | |
laravel new yournewproject | |
Maybe you want so set the Namespace of your new App | |
php artisan app:name Yournewproject | |
Set your Key: | |
php artisan key:generate | |
You can run a standalone php server for your application with (replace the ip with yours), so you don't need to add an virtual host | |
php -S 0.0.0.0:4000 -t public |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment