Slim & Eloquent
The Slim PHP micro framework paired with Laravel's Illuminate Database toolkit.
# 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
Database Migration and Seeding
The novice script provides a primitive means of migrating and seeding the database.
UserSeed.php templates located in
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.