blueprint

A code generation tool for Laravel developers.

MIT License

Downloads
766.4K
Stars
2.8K
Committers
53

Bot releases are visible (Hide)

blueprint - 1.23.0

Published by jasonmccreary over 3 years ago

Added

  • blueprint:init console command (#438)
  • String limit for faker words (#437)
  • Shorthand for invokable controllers (#435)

Fixed

  • Output of numeric defaults (#445)
  • Generate correct reference for nested models (#447)
  • Typo (#446)
blueprint - 1.22.0

Published by jasonmccreary over 3 years ago

Added

  • Add additional PHPDoc annotation (#427)
  • Support onUpdate clauses for migrations (#425)

Fixed

  • Fix boolean column default modifier (#426) …
  • Fix duplicate and missing return type declarations (#433)
blueprint - 1.21.0

Published by jasonmccreary over 3 years ago

Added

  • Generate belongsTo relationship for UUID columns
  • Generate return type declarations (#404)

Fixed

  • Do not generate foreign key for simple UUID column (#418)
blueprint - 1.20.2

Published by jasonmccreary almost 4 years ago

Added

  • Support doctrine/dbal version 3.0 (#409)
blueprint - 1.20.1

Published by jasonmccreary almost 4 years ago

Fixed

  • Sanitize quoted modifier attributes (#403)
  • Updates for PHP 8 (#407)
blueprint - 1.20.0

Published by jasonmccreary almost 4 years ago

Changed

  • Use $casts instead of $dates property from models on L8+ (#393)

Fixed

  • Correct newline character for windows (#394)
  • Invalid UUID relationships (#398)
blueprint - 1.19.2

Published by jasonmccreary almost 4 years ago

Added

  • Run tests when pushing to master branch (#372)
  • Build demo app via Github Actions (#371)
  • Note required configuration for Laravel 8 (11f475c)

Fixed

  • The destroy test should assert for SoftDeleted (#381)
  • Set a date format on a date column for update test. (#380)
  • Pivot table naming when model name contains path prefix (#388)
blueprint - 1.19.1

Published by jasonmccreary about 4 years ago

Fix times() factory method name to count().

blueprint - 1.19.0

Published by jasonmccreary about 4 years ago

Added

  • Laravel 8 class-based model factories (#365)
  • Generate tests using Laravel 8 model factories (#367)

Fixed

  • View generator test and fixtures (#373)
  • Fix multi-word models + refactors (#376)

Refactored

  • Update build action (#363)
  • Remove all duplicates when overwriting migrations (#375)
  • Cleanup fixtures (#368)
blueprint - 1.18.0

Published by laravel-shift about 4 years ago

Added

  • Alias method names for relationships (#355)
  • Allow swapping custom generators via config (#357)
  • Toggle foreign key constraints for Migrations (#356)
  • Bump dependencies for Laravel 8 (#364)

Fixed

  • Fix PSR-4 autoload naming for Generators (#362)

Refactored

blueprint - 1.17.0

Published by jasonmccreary about 4 years ago

Added

  • Add support for route generation using FQCN (#323)
  • Add support for namespaced JsonResources (#330)
  • Generate FormRequest rules using array syntax (#345)
  • Add -m shortcut for --overwrite-migrations option (#346)
  • Generate migration columns with comments (#347)
  • Add support for generating indexes (#351)

Fixed

  • Change api.delete to return proper "no content" (#331)
  • Cast date columns (#341)
  • Support namespaced Resources + suffix name (#342)

Refactored

  • Update trace command to increase the reusability and testability (#318)
  • Stubs helper (#333)
blueprint - 1.16.0

Published by jasonmccreary about 4 years ago

Added

  • --overwrite-migrations option for blueprint:build (#319)
  • Publishing of Blueprint stubs for customization (#312)

Refactored

  • Backfill tests for commands (#315, #320)
blueprint - 1.15.3

Published by jasonmccreary about 4 years ago

Fixed

  • Use $request->validated for save with validate statement (#308)

Refactored

  • Make generator classes extendable (#297)
  • Refactor shouldGenerate using collection (#299)
  • Test class to match the command class name (#302)
  • Extract common logic to abstract generator (#303)
  • Introduce Tree class to manage the analyzed tokens (#304)
  • Use shared faker-registry package (#309)
blueprint - 1.15.2

Published by jasonmccreary over 4 years ago

Fixed

blueprint - 1.15.1

Published by jasonmccreary over 4 years ago

Fixed

  • Use strict check on null instead of empty() for modifiers with 0 values (#286)
  • Generate assertions for Eloquent update statements (#288)
  • Generate simple assertions for resource statements (#290)
blueprint - 1.15.0

Published by jasonmccreary over 4 years ago

Added

  • --only and --skip options for blueprint:build (#276)

Fixed

  • Generate proper test setup for validate shorthand (#280)
  • Use factory for referenced models in validate statements (#282)
blueprint - 1.14.0

Published by jasonmccreary over 4 years ago

Added

  • New notify statement to send notifications (#253)
  • Support for tracing models with enum columns (#279)
blueprint - 1.13.2

Published by jasonmccreary over 4 years ago

Fixed

  • Correct parsing of dashes in .blueprint (#272)
  • Update README example to generate latest code (#273)
blueprint - 1.13.1

Published by jasonmccreary over 4 years ago

  • Improve build error output (#249)
  • Fix typo in blueprint:build draft argument description (#250)
  • Fix wrong model imports in tests (#256)
  • Don't require nullable fields for model validation shorthand (#259)
  • Support for dashed YAML syntax (#260)
  • Rework all known column data types (#257, #267, #268)
blueprint - 1.13.0

Published by jasonmccreary over 4 years ago

Added

  • Support for rememberToken shorthand (#229)
  • Support for cascade, set null, restrict, and no action for on delete (#230)
  • Ability to customize pivot table name (#234)
  • Ability to swap registered generators (#238)

Fixed

  • Only add api resources to routes/api.php (#243)
  • Ignore models that extend Jenssegers\Mongodb\Eloquent\Model (#240)