Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/scotch-io/laravel-eloquent-guide

Code for the scotch.io tutorial: A Guide to Using Eloquent ORM in Laravel
https://github.com/scotch-io/laravel-eloquent-guide

Last synced: 8 days ago
JSON representation

Code for the scotch.io tutorial: A Guide to Using Eloquent ORM in Laravel

Awesome Lists containing this project

README

        

# A Guide to Using Laravel Eloquent

View the [scotch.io tutorial](http://scotch.io/tutorials/php/a-guide-to-using-eloquent-orm-in-laravel)

## Usage

1. Install Laravel: `composer install --prefer-dist`
2. Change your database settings in `app/config/database.php`
3. Migrate your database: `php artisan migrate`
4. Seed your database: `php artisan db:seed`
5. View your app at: `http://example.com/eloquent`