gguney/hammal

Model Information Courier, Hammal

v1.1 2017-02-23 20:02 UTC

This package is auto-updated.

Last update: 2024-11-29 04:36:06 UTC


README

Get's databases table information

Requirements

  • Hammal works with PHP 5.6 or above.
  • Hammal only works with PostgreSQL and MySQL.

Installation

$ composer require gguney/hammal

Preparation

Add package's service provider to your config/app.php

...
       GGuney\Hammal\HammalServiceProvider::class,
...

Then write this line on cmd.

$ php artisan vendor:publish

Usage

$ php artisan make:dataModel YourModelName --m --fill

YourModelName variable is the name of your model. --m (optional) option also creates the Model. --fill (optional) option is to fill the field variable arrays of the DataModel from Database table.

Author

Gökhan Güney - gokhanguneygg@gmail.com

License

Hammal is licensed under the MIT License - see the LICENSE file for details