Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
/ slim-eloquent Public archive

The Slim PHP micro framework paired with Laravel's Illuminate Database toolkit.

Notifications You must be signed in to change notification settings

kladd/slim-eloquent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slim & Eloquent

The Slim PHP micro framework paired with Laravel's Illuminate Database toolkit.

Getting started

# Download composer
curl -s https://getcomposer.org/installer | php

# Install project dependencies
php composer.phar install

Edit the database configuration in app/config.php to match your settings.

Now set your server's document root to the public/ directory.

The end.

Database Migration and Seeding

The novice script provides a primitive means of migrating and seeding the database. Follow the UserMigration.php and UserSeed.php templates located in app/database/ for your own migrations/seeds.

To migrate and seed your database:

# Migrate
php novice migrate

# Seed
php novice seed

# Migrate then seed
php novice migrate --seed

Note: These just run whatever is in the run() function of each seed or migration. There's no support for updating or rolling back unless you put it there.

Documentation

Slim framework

http://docs.slimframework.com

Eloquent ORM

http://laravel.com/docs/eloquent

and

https://github.com/illuminate/database/blob/master/README.md

About

The Slim PHP micro framework paired with Laravel's Illuminate Database toolkit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages