Skip to content

Releases: laracademy/generators

Laravel 8+ Support

21 Oct 03:09
69010c4
Compare
Choose a tag to compare
Merge pull request #63 from danrovito/patch-2

Update ModelFromTableCommand.php

3.6: Merge pull request #61 from daverogers/patch-1

02 Apr 17:00
1a48c54
Compare
Choose a tag to compare

3.5

31 Dec 13:51
a06e98d
Compare
Choose a tag to compare
3.5
Merge pull request #56 from danrovito/patch-3

Update ModelFromTableCommand.php

3.4

21 Oct 00:45
9f27557
Compare
Choose a tag to compare
3.4

Code optimizations from @daverogers

PR #52

Code Cleanup

11 Oct 18:00
84331ce
Compare
Choose a tag to compare

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

23 Jun 20:13
71e44bf
Compare
Choose a tag to compare

Thanks to @daverogers

  • Lamba support for filename, folder, namespace
  • doc field now generates padding

Default Laravel 8 Model Directory

24 Mar 15:25
7092283
Compare
Choose a tag to compare
Merge pull request #46 from danrovito/patch-2

update for issue #45

3.0: Merge pull request #41 from daverogers/add-config

07 Oct 12:20
80c9b8b
Compare
Choose a tag to compare
  • 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

20 Feb 19:58
bd14fd3
Compare
Choose a tag to compare
  • Fixes for Str class
  • Builds classes from tables and not view

Fixed old str function calls for Laravel 6

09 Jan 02:19
1596314
Compare
Choose a tag to compare
Merge pull request #36 from laracademy/bugfix/missed_str_function

Updated str_singular to use the new Str class (Laravel 6)