Laravel Craftsman Versions Save

Laravel Craftsman CLI for easily crafting Laravel assets for any project (artisan make on steroids)

1.10.1

3 years ago

[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

4 years ago
  • Added craft:command command
  • Added craft:event and craft:listener commands

1.6.1

4 years ago
  • 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

5 years ago

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

5 years ago
  • 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

5 years ago
  • Added single-use templates (fixes #2)