zofe / rapyd-module-installer
Rapyd Module Installer, to move remote rapyd-livewire modules in your application Modules folder
Installs: 113
Dependents: 7
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- php: 7.* || 8.*
- composer-plugin-api: ^2.0
Requires (Dev)
- composer/composer: ^2.0
README
The purpose of this package is to allow for easy installation of standalone Modules (public or private) into a Laravel application that is powered by Rapyd Livewire package.
This package will ensure that your module is installed into the Modules/
directory instead of vendor/
to make each module you need automatically part of your project
Installation
- Ensure you have the
type
set torapyd-module
in your module'scomposer.json
- Ensure your package is named in the convention
<namespace>/<name>-module
, for examplezofe/demo-module
would install intoapp/Modules/Demo
- Require this package:
composer require zofe/rapyd-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.
Public available modules
zofe/demo-module rapyd demo