By default, detailed error reporting is disabled in your production configuration file. This will allow you to receive detailed error messages when developing on your local machine. Once Laravel is installed, you should also configure your local environment. It contains several options such as timezone and locale that you may wish to change according to your application. You are free to get started developing! However, you may wish to review the app/config/app.php file and its documentation. Laravel needs almost no other configuration out of the box. If the application key is not set, your user sessions and other encrypted data will not be secure. The key can be set in the app.php configuration file. Typically, this string should be 32 characters long. If you installed Laravel via Composer, this key has probably already been set for you by the key:generate command. The first thing you should do after installing Laravel is set your application key to a random string. When using Ubuntu, this can be done via apt-get install php5-json. The Laravel framework has a few system requirements:Īs of PHP 5.5, some OS distributions may require you to manually install the PHP JSON extension. If you want to update the Laravel framework, you may issue the php composer.phar update command. This process requires Git to be installed on the server to successfully complete the installation. Next, in the root of your Laravel application, run the php composer.phar install (or composer install) command to install all of the framework's dependencies. Once Composer is installed, download the 4.2 version of the Laravel framework and extract its contents into a directory on your server. Composer create - project laravel / laravel 4.2 - prefer - dist Via Download
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |