hzh/seeder

Libreria que permite crear seeders a partir de tablas de una base de datos.

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/hzh/seeder

v2.1.0 2023-05-07 03:22 UTC

This package is auto-updated.

Last update: 2025-11-07 09:09:08 UTC


README

This library allow to generate a seeder file from existing table in current database (Laravel).

Installation:

composer require hzh/seeder

Use:

  1. After Installation you must put this line in your config/app.php inside a provider's array:

    Hzh\Seeder\HzhServiceProvider::class

  2. Use this command to generate the seeder File:

    php artisan hzh:seeder tableName ModelName

  3. Enjoy it!

NOTE: Is imperative to has a Model created before use this library.