$PATH
so the laravel executable can be located by your system. This directory exists in different locations based on your operating system; however, some common locations include:$HOME/.composer/vendor/bin
%USERPROFILE%AppDataRoamingComposervendorbin
$HOME/.config/composer/vendor/bin
or $HOME/.composer/vendor/bin
composer global about
and looking up from the first line.laravel new
command will create a fresh Laravel installation in the directory you specify. For instance, laravel new blog
will create a directory named blog
containing a fresh Laravel installation with all of Laravel's dependencies already installed:create-project
command in your terminal:serve
Artisan command. This command will start a development server at http://localhost:8000
:public
directory. The index.php
in this directory serves as the front controller for all HTTP requests entering your application.config
directory. Each option is documented, so feel free to look through the files and get familiar with the options available to you.storage
and the bootstrap/cache
directories should be writable by your web server or Laravel will not run. If you are using the Homestead virtual machine, these permissions should already be set.php artisan key:generate
command..env
environment file. If you have not copied the .env.example
file to a new file named .env
, you should do that now. If the application key is not set, your user sessions and other encrypted data will not be secure!config/app.php
file and its documentation. It contains several options such as timezone
and locale
that you may wish to change according to your application.public/.htaccess
file that is used to provide URLs without the index.php
front controller in the path. Before serving Laravel with Apache, be sure to enable the mod_rewrite
module so the .htaccess
Counter strike source cd key generator download youtube. file will be honored by the server..htaccess
file that ships with Laravel does not work with your Apache installation, try this alternative:index.php
front controller: