Skip to content

Releases: mikeerickson/laravel-craftsman

1.10.1

03 Jul 03:05
Compare
Choose a tag to compare

[1.10.1] - 2020-07-03

Added

  • Added craft:test --pest option to create pest formatted tests
 laravel-craftsman craft:test TestPest.php --pest
 laravel-craftsman craft:test TestPest.php --pest --unit

Fixed

-- Fixed craft:migration to properly use --tablename for CreateXXXTable class name
-- Fixed $tablename variable in templates/model.mustache template to use correct $table
Before:

protected $tablename = "users";

After:

protected $table = "users";

1.8.0

03 Feb 04:36
Compare
Choose a tag to compare
  • Added craft:command command
  • Added craft:event and craft:listener commands

1.6.1

03 Aug 20:55
Compare
Choose a tag to compare
  • feature: add foreign constraint support when crafting migrations
  • feature: add current option when crafting migrations
  • feature: add migration option when crafting models
  • admin: updated tests
  • admin: updated readme

1.3.0

24 Apr 18:32
Compare
Choose a tag to compare

Added

  • Added craft:resource command
  • Extended craft:controller command

Fixed

  • Fixed issue when creating migrations, created invalid class name (Issue 005)
  • Fixed issue creating unnecessary use statement for model which is in default namespace (app directory)

1.1.2

19 Apr 02:15
Compare
Choose a tag to compare
  • Fix issue when creating migrations and tablename is not supplied
  • Added migration name parsing to determine migration class name when --model or --tablename not supplied
  • Added more tests to cover migration adjustments

1.1.1

18 Apr 05:37
Compare
Choose a tag to compare
  • Added single-use templates (fixes #2)