Skip to content

The website for Eloquent101 which can be downloaded and installed locally so you can see code samples and play with the same data from the series.

Notifications You must be signed in to change notification settings

ahuggins/eloquent101

Repository files navigation

About Eloquent 101

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.

!IMPORTANT About the Web Theme

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.

Get Started

Get Started

Clone this repo to wherever you want. Needs to be setup similar to any other Laravel project.

  1. Once cloned, navigate your terminal to the folder, run composer install
  2. Update the .env file with your own database credentials
  3. Run php artisan migrate and php 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.

About

The website for Eloquent101 which can be downloaded and installed locally so you can see code samples and play with the same data from the series.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages