Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.
-
Download this repo
- git clone https://github.com/MedAdrian/Sales.git
- cd Sales
-
Install PHP >=7.1.3, and verify your version with
- php -V
-
Install composer, once installed run this command to dowload all dependencies for the project
- composer install
-
Install mysql, once installed verify that the service is started.
-
Run the laravel migrations and seeds with the commands:
- php artisan migrate
- php artisan db:seed --class=ItemsTableSeeder
- php artisan db:seed --class=SalesTableSeeder
- php artisan db:seed --class=SalesItemsTableSeeder
Run the command listed below on the console: ./vendor/bin/phpunit