Releases: laracademy/generators
Releases · laracademy/generators
Laravel 8+ Support
Merge pull request #63 from danrovito/patch-2 Update ModelFromTableCommand.php
3.6: Merge pull request #61 from daverogers/patch-1
Better support for MySQL 8 @daverogers
3.5
Merge pull request #56 from danrovito/patch-3 Update ModelFromTableCommand.php
3.4
Code optimizations from @daverogers
PR #52
Code Cleanup
Thanks to @daverogers and @mrbig00 for some code cleaning that was needed
3.2: Merge pull request #49 from daverogers/new-lambdas-and-readme-updates
Thanks to @daverogers
- Lamba support for filename, folder, namespace
- doc field now generates padding
Default Laravel 8 Model Directory
Merge pull request #46 from danrovito/patch-2 update for issue #45
3.0: Merge pull request #41 from daverogers/add-config
- Establish a config file (modelfromtable.php) that devs can use to preset configurations (which can be overridden by command line) - downside is debug, all, etc have to be explicitly set to true in command line
- Use app/Models directory if Laravel 8+ (#40)
- New configuration to enable/disable timestamps (#13)
- Generating model docblocks (#7)
- New configuration to set delimiter (esp useful for tables with a lot of columns)
- New configuration that sets overwrite to false by default, much safer for models that a dev has created and modified (force them to overwrite explicitly)
- New configuration that sets $primaryKey - supports lambda to run database-specific query to obtain the primary key column
- Expanded on previous $cast types, tried to make it a little smarter with regex
- New configurations for whitelist and blacklist ("migrations" table included in config's blacklist by default, so devs have the choice to include it or not)
- General stub cleanup
2.3: Merge pull request #37 from amphetkid/patch-1
- Fixes for Str class
- Builds classes from tables and not view
Fixed old str function calls for Laravel 6
Merge pull request #36 from laracademy/bugfix/missed_str_function Updated str_singular to use the new Str class (Laravel 6)