Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
/ laravel-composer Public archive

Rinvex Composer is an intuitive package that utilizes Composer Plugin API to support additional actions during installation, such as installing packages outside of the default vendor library and running custom scripts during install, update, and uninstall processes.

License

Notifications You must be signed in to change notification settings

rinvex/laravel-composer

Repository files navigation

Rinvex Composer

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.

Packagist Scrutinizer Code Quality Travis StyleCI License

Installation

  1. Install the package via composer:

    composer require rinvex/laravel-composer
  2. Optional if you want to change the configurations:

    php artisan rinvex:publish:composer
  3. Done!

Usage

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.

Supported Package Types

  • 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.

Basic Usage

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.

Resources

Changelog

Refer to the Changelog for a full history of the project.

Support

The following support channels are available at your fingertips:

Contributing & Protocols

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.

Security Vulnerabilities

If you discover a security vulnerability within this project, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.

About Rinvex

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.

License

This software is released under The MIT License (MIT).

(c) 2016-2022 Rinvex LLC, Some rights reserved.

About

Rinvex Composer is an intuitive package that utilizes Composer Plugin API to support additional actions during installation, such as installing packages outside of the default vendor library and running custom scripts during install, update, and uninstall processes.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages