yonis-savary/laravel-model-generator

Translate your database table description into Laravel model !

dev-main 2024-11-22 11:44 UTC

This package is auto-updated.

Last update: 2025-03-22 12:19:53 UTC


README

You can use this package to generate Models in your Laravel app automatically

Installation

(soon !)

Usage

After installing the package

php artisan make:auto-models

Features

🟢 Developped features

  • MySQL support
  • SQLite support
  • PostgreSQL support
  • CREATED_ATand UPDATED_AT constants
  • Attributes default values
  • Table attribute
  • Original digest system (won't overwrite an edited file unless --force is used)

🔵 Soon:

  • {--resource} option to generate controller resource
  • tests...