daikazu/laratone

Color Libraries for Laravel

v1.0.2 2019-06-19 15:45 UTC

README

Laravel Color Library Package

This is a simple package to manage and seed various color libraries I find my self using all time.

Install

composer require daikazu/laratone

publish config

php artisan vendor:publish --tag=laratone-config

You can change the table prefix name in the config to what ever you like.

<?php

return [
    'table_prefix' => 'laratone_',
];

Migrate Database table

php artisan migrate

Seed with default Color Books

php artisan db:seed --class="Daikazu\Laratone\ColorBooks\PantonePlusSolidCoatedSeeder"

Four Color Book seeders have been made available for you;

  • PantonePlusSolidCoatedSeeder
  • PantonePlusSolidCoated336NewColorsSeeder
  • PantoneMetallicCoatedSeeder
  • PantonePlusMetallicCoatedSeeder
  • GuangShunThreadColorsSeeder
  • HCTwillColorsSeeder

TODO

  • Need to write tests