This is a base install of Laravel, with some added things in order for people to be able to see how to use Eloquent ORM with actual code and actual data.
I used a theme from HTML5UP and included the attribution for the theme in this repo. This means you are able to use the theme, locally or comercially under a creative commons license (aka, you must give attribution). If you want, you can go to Pixelarity and purchase a license allowing you to not have to attribute the theme. Please respect this.
Clone this repo to wherever you want. Needs to be setup similar to any other Laravel project.
- Once cloned, navigate your terminal to the folder, run
composer install
- Update the .env file with your own database credentials
- Run
php artisan migrate
andphp artisan db:seed
These last two create the database tables and seed it with the Sakila sample db. This is going to let us use real code to show how Eloquent works and what you can do with it.