composer-plugin laravel-module-installer
joshbrw/laravel-module-installer
- Wednesday, November 8, 2017
- by joshbrw
- Repository
- 1 Watchers
- 43 Stars
- 4,129 Installations
- PHP
- 17 Dependents
- 0 Suggesters
- 10 Forks
- 0 Open issues
- 7 Versions
- 20 % Grown
Laravel Module Installer
The purpose of this package is to allow for easy installation of standalone Modules into the Laravel Modules package. This package will ensure that your module is installed into the Modules/
directory instead of vendor/
., (*1)
You can specify an alternate directory by including a module-dir
in the extra data in your composer.json file:, (*2)
"extra": {
"module-dir": "Custom"
}
Installation
- Ensure you have the
type
set to laravel-module
in your module's composer.json
- Ensure your package is named in the convention
<namespace>/<name>-module
, for example joshbrw/user-module
would install into Modules/User
- Require this package:
composer require joshbrw/laravel-module-installer
- Require your bespoke module using Composer. You may want to set the constraint to
dev-master
to ensure you always get the latest version.
Notes
- When working on a module that is version controlled within an app that is also version controlled, you have to commit and push from inside the Module directory and then
composer update
within the app itself to ensure that the latest version of your module (dependant upon constraint) is specified in your composer.lock file.
dev-master
9999999-dev
Sources
Download
MIT
The Requires
-
composer-plugin-api ^1.1
-
php ^5.4|7.*
The Development Requires
v0.1.4
0.1.4.0
Sources
Download
MIT
The Requires
-
composer-plugin-api ^1.1
-
php ^5.4|7.*
The Development Requires
dev-jijoel-feature/updates
dev-jijoel-feature/updates
Sources
Download
MIT
The Requires
-
composer-plugin-api ^1.1
-
php ^5.4|7.*
The Development Requires