Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Models Generator Laravel Package

giacomomasseron/laravel-models-generator

Generate Eloquent models directly from an existing database with this Laravel artisan command. Supports MySQL, MariaDB, SQLite, PostgreSQL and SQLServer, plus polymorphic relations, UUID/ULID columns, enum, URI and JSON casting, and optional model factories.

View on GitHub
Deep Wiki
Context7
v3.0.1

Features

  • Optimize MySQL code for DBAL v4.4
v3.0.0

Features

  • Remove DBAL deprecated functions and optimize the code
v2.0.0

Features

  • Use new Laravel 13 model attributes
v1.3.2

Features

  • Fix Laravel 13 generation
v1.3.1

Features

  • to Laravel 13
v1.3.0

Features

  • Add management of JSON columns
v1.2.3

Features

  • Factories creation refactor
v1.2.2

Features

  • Fix: remove prefix on model name in relationships
v1.2.0

Features

  • Add the -f parameter to create factories with fake values
v1.1.5

Features

  • Fix error that deleted also App\Models\Scopes folder when clean_models_directory_before_generation config param is set to true.
  • Add global_scopes config param to manage models global scopes.
v1.1.4

Features

  • Remove deprecated doctrine/dbal v4 function calls.
v1.1.3

Features

  • Add LaravelModelsGeneratorException exception
v1.1.2

Features

v1.1.1

Features

  • Fix: add $connection property to model, if config param is set to true
v1.1.0

Features

  • Added query_builders config param to use new Laravel 12.19 attribute UseEloquentBuilder
v1.0.0

Features

  • First production-ready release.
v0.4.5

Features

  • Added observer config param, to add observers to models.
v0.4.4

Features

  • Added table_traits config param to use traits in specific models
v0.4.3

Features

  • Added generate_children_classes config param, to avoid the generation of children classes when you generate base classes
v0.4.2

Features

  • Added ulids config value to handle ulids fields
v0.4.1

Features

  • Added the uuids config value to manage uuids columns
v0.4.0

Features

  • Complete refactor
  • Fixed a bug that added base class properties to child classes as well
v0.3.6

Features

  • Added SQLServer compatibility
v0.3.5

Features

  • Add Laravel 9 and 12 compatibility
  • Manage correctly null primary keys
v0.3.4

Features

  • Fix morph relationship
  • Add exclude_relationships config value to avoid the creation of relationship
v0.3.3

Features

  • Add exclude_columns config value to exclude columns from fillable array
v0.3.2

Features

  • Add config value to customize timestamps fields
v0.3.1

Features

  • Add comments to PHPDocs column property (Ex. @property int $id (comment))
v0.3.0

Features

  • Add PostgreSQL compatibility
v0.2.4

Features

  • added compatibility with Laravel 10
v0.2.3

Features

  • add prefix_table config param to remove table prefix value from generated models
v0.2.2

Features

  • add relationships_name_case_type config param to define the way relationships name are created
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
adachsoft/php-code-style