Weave Code
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 Laravel Package

reliese/laravel

Generate Laravel Eloquent models from your database schema. Reliese inspects tables, columns, and foreign keys to scaffold typed model properties and relationships via an Artisan command, helping speed up development (best used in local/dev environments).

View on GitHub
Deep Wiki
Context7
v1.4.0

What's New?

  • Add MariaDB to supported databases #285
  • PHP8.4 - fix - #310
  • Update property type in case if we don't have record in related table #304

Thanks

@antevgen @klas @kamil-michalak

v1.3.5

What's New?

  • Add support for including a list of table columns to generated models #295
v1.3.4

What's New?

  • Solves problem with postgresql databases in Laravel 11 #294. Thanks @C-ArenA
v1.3.3

What's New?

Changes

  • Added support for staudenmeir/laravel-cte #293
v1.3.2

What's New?

Changes

Added Laravel 11 support for both Postgres and MySQL drivers. Thanks @igun997.

v1.3.1

What's New?

  • Fixes a bug where str_replace would replace more than 1 instance of an imported class #278
v1.3.0

What's New?

Changed

  • Fixed an issue where 2 related tables would generate the incorrect relationship type, where one table includes the other's name. #276 - thanks @antevgen & @XedinUnknown
v1.2.4

What's New?

Changed

  • #264 Add hidden property in BaseModels - thanks @0kyn
v1.2.3

What's New?

Changed

  • #252 Added tables included with Laravel to the exclude list - thanks @alibori
v1.2.2

What's New?

Changed

  • Fixed incorrect date / datetime casting introduced in #254, now casts correctly to 'datetime' so time is correctly preserved
v1.2.0

What's New?

Changed

#254 - Removes deprecated $dates cast.

Notes

  • This is a minor release, as #254 introduces a significant change to the generated code, while still being backward compatible. See the PR for more information on access the old data held in the $dates array.
v1.1.8

What's New?

Changed

#242 Update WhoDidIt.php, thanks @lugotal

v1.1.7

What's New?

Changed

#235 Fix Undefined index:primary for SQLITE, thanks @neatstudio

v1.1.6

What's New?

Changed

  • #236 set data type now treated as a string, thanks @kl4ver
v1.1.5

What's new

Added

  • #220 Add return type declarations
v1.1.4

What's new

Fixed

  • #218 Update PostgreSQL Driver, thanks to @nasatome
v1.1.3

What's new

Fixed

  • #221 Column type BLOB should be interpreted as string
  • #224 Tiny typo ;)
v1.1.2

What's new

Fixed

  • #211 Tweak to improve output when not using base files, thanks to @coatesap
v1.1.1

What's new

Fixed

  • #209 Same-model relationships now no longer return instances of the base class, thanks to @coatesap
v1.1.0

What's new

Added

  • #196 Ability to override automatically generated model names for specific tables, thanks to @coatesap
v1.0.0

What's new

Added

  • #192 Output more descriptive relationship names, and avoid naming collisions, thanks to @coatesap

Changed

  • Raised minimum support to PHP 7.3, inline with Laravel
v0.0.19

What's new

Fixed

  • Fix importing of parent class with the same class name #182

Added

Changed

  • Raised testing support to PHP 7.3 and PHP 7.4
v0.0.18

What's new

Changed

v0.0.17

What's new

Added

v0.0.16

What's new

Added

  • #168 Support nullable properties in docblocks thanks to @antriver
v0.0.15

What's new

Fixed

  • Solved #163 with #158

Added

  • PostgreSQL support #111 thanks to @rwdim
v0.0.14

Added

  • Support for latest Laravel versions
  • Service Provider auto discovery
  • Support space indentation (indent_with_space key)
  • Qualified table names can be turned on/off or follow a Laravel pattern
  • Specified Tables (only key) as model generation white list
  • Remove table preffixes by filling in the table_prefix key
  • Lower table name before doing studly (lower_table_name_first)
  • Relation Name Strategy (relation_name_strategy) can now be based on foreign key names
  • Add property names as constants (with_property_constants)
  • Turn on/off name pluralization (pluralize)
  • Disable pluralization on certain tables (override_pluralize_for)

Changed

  • Use Illuminate\Database\Eloquent\Model::class as default parent class for models
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4