Rinvex Composer is an intuitive package that leverages the Composer Plugin API, offering enhanced installation features, that allow packages to be installed outside the standard vendor directory and executing custom scripts during the install, update, and uninstall phases.
-
Install the package via composer:
composer require rinvex/laravel-composer
-
Optional if you want to change the configurations:
php artisan rinvex:publish:composer
-
Done!
The main purpose of this package is to adjust Composer's default behavior, allowing custom packages to install outside the vendor
directory. It uses the Composer Plugin API and has built-in support for Rinvex Cortex modules, extensions, and themes.
- cortex-theme
- cortex-module
- cortex-extension
Notes:
- Checkout Composer's Custom Installers
- You can add more custom package types via the config file at
config/rinvex.composer.php
. This file provides examples of custom package types. To understand how it works, consider examining the composer plugin logic.
Rinvex Cortex modules, extensions and themes are installed to customizable paths, allowing placement wherever you prefer. The default configurations use these paths:
cortex-theme
-config('rinvex.composer.cortex-theme.path')
(default:app/themes
)cortex-module
-config('rinvex.composer.cortex-module.path')
(default:app/modules
)cortex-extension
-config('rinvex.composer.cortex-extension.path')
(default:app/extensions
)
When creating a new Rinvex Cortex module, extension, or theme, specify the correct composer package type in your package's composer.json
. Use "type": "cortex-module"
for modules, "type": "cortex-extension"
for extensions, and "type": "cortex-theme"
for themes.
Afterward, execute composer install
or composer update
in your application's root directory. The Rinvex Composer Installer will identify the package type and place it in the correct directory.
Refer to the Changelog for a full history of the project.
The following support channels are available at your fingertips:
Thank you for considering contributing to this project! The contribution guide can be found in CONTRIBUTING.md.
Bug reports, feature requests, and pull requests are very welcome.
If you discover a security vulnerability within this project, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.
Rinvex is a software solutions startup, specialized in integrated enterprise solutions for SMEs established in Alexandria, Egypt since June 2016. We believe that our drive The Value, The Reach, and The Impact is what differentiates us and unleash the endless possibilities of our philosophy through the power of software. We like to call it Innovation At The Speed Of Life. That’s how we do our share of advancing humanity.
This software is released under The MIT License (MIT).
(c) 2016-2022 Rinvex LLC, Some rights reserved.