All Notable changes to laravel-modules will be documented in this file.
- Support Laravel 5.5
- Allow migrate-refresh command to be run without module argument
- Module name was added to the module enable and disable events
- Only run composer require on the module:update command if there's something to require
- Fixing lumen support
- Laravel Lumen support
- Update dev dependencies grumphp and phpcsfixer to latest versions
- The
make:modelcommand with the-mflag to create the associated migration is now using a current migration file name
- Throw an exception if asset name structure was not correct when using
{!! Module::asset() !!} - Create the module used file if non existent. Will provide for a better error message if module is omitted in console commands without a module:use.
- More flexibility to the
json()method, while keeping the performance improvements.
- Improving performance by only instantiating Json class for the module.json file once
- Added support for generic git hosts
- Using
resource_pathto register module views - Changed the method to load additional eloquent factory paths
- A
--migrationflag to themodule:make-modelcommand to generate the migration file with a model - Factories are now also defined in the master service providers. This is used in the
module:makecommand without the--plainflag, or usingmodule:make-providerwith the--masterflag. module_path()helper function.
- The default location of event listeners is now in
Listeners/, fromEvents/Handlers
- Fixed the
--plainon themake:modulecommand, to not include a service provider in themodule.jsonfile as it's not generated. - Add command description to the
GenerateNotificationCommand.
- Added the
Macroabletrait to theModuleclass.
- The
collectionsmethod now accepts an optional parameter to get modules by status, in a laravel collection. - Allow laravel
5.5.*to be used.
module:update: Copy over the scripts key to main composer.json file- Add a
--subpathoption to migrate command module:update: Install / require all require & require-dev package at once, instead of multiple calls to composer require.module:publish-configcommand now uses the namespace set up in the configuration file.
module:updatecommand now also takes therequire-devkey into account- Making the
$migrationsparameter optional ongetLastBatchNumber()
- The module list command (
module:list) now returns the native module name
- Fixed issues with route file location in
start.php
- Add checking for failure to parse module JSON
- Support for Laravel 5.4
- Adding show method on resource controller
- Added check for cached routes to not load them multiple times
- Module requirements (PR #117)
- Added
Macroabletrait toModuleclass (PR #116)
- Added missing import of the
Schemafacade on migration stubs - A default plain migration will be used if the name was not matched against a predefined structure (create, add, delete and drop)
- Add tests for all the different migration structures above
- Fix: respecting order in reverse migrations (PR #98)
- Fix:
module:resetandmodule:migrate-rollbackdidn't have--databaseoption (PR #88) - Fix:
Module::asset(), removed obsolete backslash. (PR #91)
module:make-notificationcommand to generate a notification class
- Usage of the
lists()method on the laravel collection has been removed in favor ofpluck() - Modules can now overwrite the default migration and seed paths in the
module.jsonfile
- Generated emails are now generated in the
Emailsfolder by default
- Ability to set default value on the config() method of a module.
- Mail: Setting default value to config. Using that as the namespace.
- Using PSR2 for generated stubs
- Generation of Mailable classes
- Using stable version of laravelcollective/html (5.3)
- Using stable development of laravelcollective/html
- Adding
module:make-jobcommand to generate a job class - Adding support for Laravel 5.3
- Added force option to module:seed command
- Experimental Laravel 5.3 support
- Make sure the class name has
Controllerappended to it as well. Previously only the file had it suffixed.
- Dependencies:
pingpong/supportandpingpong/generators
- Adding a plain option to the generate controller command
- Generate controller command now generates all resource methods
- Module generation namespace now works with
StudlyCase(Issue #14) - No module namespace fix (#13)
- Using new service provider stub for module generation too
Initial release