benbjurstrom/curator-model

Laravel package containing Migrations, Models, and Seeds for the benbjurstrom/curator application.
15
Install
composer require benbjurstrom/curator-model
Latest Version:0.0.1
PHP:>=5.6.4
License:MIT
Last Updated:Jan 18, 2017
Links: GitHub  ·  Packagist
Maintainer: benbjurstrom

Curator Model

Build Status

Laravel package containing migrations, models, and seeds for the benbjurstrom/curator application.

Setup Instructions

Package Installation

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,
];
Migrations

Once registered migrate your database to setup the following table structure:

artisan migrate

Database Model

Seeders

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.

Related Packages

awcodes/filament-curator

A media picker plugin for FilamentPHP.

459,022 443
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609