This exercise uses Laravel 5.2
Make sure you satisfy the following requirements:
-
PHP >= 5.5.9
-
OpenSSL PHP Extension
-
PDO PHP Extension
-
Mbstring PHP Extension
-
Tokenizer PHP Extension
-
Install composer on your local machine if you don't have one on your machine Please refer to this link for more info: https://getcomposer.org/
-
execute the command 'composer install'
-
chmod -R 777 storage && chmod -R 777 bootstrap/cache
-
create a database with any name
-
create .env.sample file to .env file and replace the DB credentials with your credentials and the name of the database that you created in the previous step
Run the following commands in order:
- php artisan migrate
- php artisan db:seed
- php artisan serve
You can now test it in your browser by going to http://localhost:8000
If you like to try the test script, run the command below
- ./vendor/bin/phpunit
TestCases are located in /tests
#==============================================================#
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching.
Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.
Documentation for the framework can be found on the Laravel website.
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at [email protected]. All security vulnerabilities will be promptly addressed.
The Laravel framework is open-sourced software licensed under the MIT license.