Package Data | |
---|---|
Maintainer Username: | benbjurstrom |
Maintainer Contact: | ben@jelled.com (Ben Bjurstrom) |
Package Create Date: | 2017-01-18 |
Package Last Update: | 2017-01-18 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-03 03:03:07 |
Package Statistics | |
---|---|
Total Downloads: | 13 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Laravel package containing migrations, models, and seeds for the benbjurstrom/curator application.
Install the package using composer:
composer require benbjurstrom/curator-model
Register the service provider in your application:
// config/app.php
'providers' => [
...
BenBjurstrom\CuratorModel\CuratorModelServiceProvider::class,
];
Once registered migrate your database to setup the following table structure:
artisan migrate
Optionally seed the database with sample data by including the package's seeder class:
// database/seeds/DatabaseSeeder.php
class DatabaseSeeder extends Seeder
{
public function run()
{
...
$this->call(BenBjurstrom\CuratorModel\Seeds\DatabaseSeeder::class);
}
}
Note that when rolling back the migrations database records are saved to the seeds/json/ directory.