PHPackages                             rinvex/composer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. rinvex/composer

Abandoned → [rinvex/laravel-composer](/?search=rinvex%2Flaravel-composer)ArchivedComposer-plugin[Utility &amp; Helpers](/categories/utility)

rinvex/composer
===============

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.

v0.0.3(7y ago)04.4kMITPHPPHP ^7.1.3

Since Feb 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/rinvex/renamed-composer)[ Packagist](https://packagist.org/packages/rinvex/composer)[ Docs](https://rinvex.com)[ RSS](/packages/rinvex-composer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (6)Versions (5)Used By (0)

Rinvex Composer
===============

[](#rinvex-composer)

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

⚠️ This package is **renamed** and now maintained at **[rinvex/laravel-composer](https://github.com/rinvex/laravel-composer)**, author suggests using the new package instead. Old package supportes up to Laravel v5.6, and the new one supports Laravel v5.7+

[![Packagist](https://camo.githubusercontent.com/170b10b5549d7d7e252219338147199c04708bd14c855b3750a6ff35f68d9eeb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72696e7665782f636f6d706f7365722e7376673f6c6162656c3d5061636b6167697374267374796c653d666c61742d737175617265)](https://packagist.org/packages/rinvex/composer)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/77555e804dedcb73c105386869e53156f6fc88da31e017637aafbe31647a20d6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f72696e7665782f636f6d706f7365722e7376673f6c6162656c3d5363727574696e697a6572267374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/rinvex/composer/)[![Code Climate](https://camo.githubusercontent.com/9a85167e402297c5e0001ca0bb2d255f86275e30de40745768a343487c15c6bf/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f72696e7665782f636f6d706f7365722e7376673f6c6162656c3d436f6465436c696d617465267374796c653d666c61742d737175617265)](https://codeclimate.com/github/rinvex/composer)[![Travis](https://camo.githubusercontent.com/d9715bd77860a78842543fffb9e2937890c09376eabcc1eff0fc7ef4ae320268/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f72696e7665782f636f6d706f7365722e7376673f6c6162656c3d5472617669734349267374796c653d666c61742d737175617265)](https://travis-ci.org/rinvex/composer)[![StyleCI](https://camo.githubusercontent.com/c9b89fc422367db1e7dec94b219f8aff3ea2160267e54f7da043d11f39657a1d/68747470733a2f2f7374796c6563692e696f2f7265706f732f37373631383133302f736869656c64)](https://styleci.io/repos/77618130)[![License](https://camo.githubusercontent.com/62498d7c2175348acbeb717b894f91cc6d8dc75883bed41f55bd7e0bc9d46a46/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f72696e7665782f636f6d706f7365722e7376673f6c6162656c3d4c6963656e7365267374796c653d666c61742d737175617265)](https://github.com/rinvex/composer/blob/develop/LICENSE)

**Rinvex Composer** also handles any module specific install/uninstall logic, so if your custom **cortext-module** contains for example migrations and/or seeds, it will be automatically executed upon composer installation.

Installation
------------

[](#installation)

1. Install the package via composer:

    ```
    composer require rinvex/composer
    ```
2. **Optionally** you can publish config files by running the following commands:

    ```
    php artisan vendor:publish --tag="rinvex-composer-config"
    ```
3. Done!

Usage
-----

[](#usage)

As it should be clear, the main purpose of this package is to modify composer's behaviour so packages of custom types could be installed in directories other than the default `vendor`.

### Supported Package Types

[](#supported-package-types)

- cortex-module
- cortex-custom

> **Note:** Checkout Composer's [Custom Installers](https://github.com/composer/composer/blob/master/doc/articles/custom-installers.md)

### Basic Usage

[](#basic-usage)

All Rinvex Cortex modules are installed into the following paths accordingly:

- **`cortex-module`** - `app`
- **`cortex-custom`** - `custom/path`

So if you're building a new Rinvex Cortex module, you have to add the appropriate composer package type in your package's `composer.json`, such as `"type": "cortex-module"` for modules.

> **Note:** Checkout Rinvex [Module Package](https://github.com/rinvex/module) documentation for further details.

### Custom Paths

[](#custom-paths)

This is a powerful feature available for more flexibility and control over package installation paths. To use custom paths, your package's `composer.json` file must have the following attributes:

```
"type": "cortex-custom",
"require": {
    "rinvex/composer": "^1.0.0"
},
"extra": {
    "path": "custom/path/"
}
```

Then you've to run `composer install` or `composer update` at your application root directory, and **Rinvex Composer** Installer will detect the custom package type and look for `extra.path`. If it finds it; the package will be installed to that custom directory.

### Overriding Custom Paths

[](#overriding-custom-paths)

It's nice to give packages the ability to set their own installation paths, but on some hosts where there's some restrictions it may be a problem; In such case you may have to take control and enforce these packages to be installed within certain directory.

You can override package-level paths at the application-level through `extra.paths` attribute in your application `composer.json` file:

```
"require": {
    "vendor/package": "^1.0.0"
},
"extra": {
    "paths": {
        "vendor/package": "enforced/overriden/path/for/vendor/package/"
    }
}
```

Accordingly, this application-level path override will take precedence over any package-level custom paths.

Resources
---------

[](#resources)

- [A Multi-Framework Composer Library Installer](https://github.com/composer/installers)
- [Setting up and using custom Composer installers](https://github.com/composer/composer/blob/master/doc/articles/custom-installers.md)

Changelog
---------

[](#changelog)

Refer to the [Changelog](CHANGELOG.md) for a full history of the project.

Support
-------

[](#support)

The following support channels are available at your fingertips:

- [Chat on Slack](http://chat.rinvex.com)
- [Help on Email](mailto:help@rinvex.com)
- [Follow on Twitter](https://twitter.com/rinvex)

Contributing &amp; Protocols
----------------------------

[](#contributing--protocols)

Thank you for considering contributing to this project! The contribution guide can be found in [CONTRIBUTING.md](CONTRIBUTING.md).

Bug reports, feature requests, and pull requests are very welcome.

- [Versioning](CONTRIBUTING.md#versioning)
- [Pull Requests](CONTRIBUTING.md#pull-requests)
- [Coding Standards](CONTRIBUTING.md#coding-standards)
- [Feature Requests](CONTRIBUTING.md#feature-requests)
- [Git Flow](CONTRIBUTING.md#git-flow)

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within this project, please send an e-mail to [help@rinvex.com](help@rinvex.com). All security vulnerabilities will be promptly addressed.

About Rinvex
------------

[](#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
-------

[](#license)

This software is released under [The MIT License (MIT)](LICENSE).

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~111 days

Total

3

Last Release

2785d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e54af04bcacb96e00894621335f88df7ed9895b6cc245deffdc9830a21cfe29?d=identicon)[Omranic](/maintainers/Omranic)

---

Top Contributors

[![Omranic](https://avatars.githubusercontent.com/u/406705?v=4)](https://github.com/Omranic "Omranic (41 commits)")

---

Tags

plugincomposerlaravelpackageinstallerextensionmodulerinvexcortexcomposablemodulable

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rinvex-composer/health.svg)

```
[![Health](https://phpackages.com/badges/rinvex-composer/health.svg)](https://phpackages.com/packages/rinvex-composer)
```

###  Alternatives

[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[craftcms/plugin-installer

Craft CMS Plugin Installer

283.3M4](/packages/craftcms-plugin-installer)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)[cybercog/laravel-paket

Composer personal web interface. Manage Laravel dependencies without switching to command line!

1753.3k](/packages/cybercog-laravel-paket)[joomlatools/composer

A Composer plugin to install Joomla extensions into your installation.

5332.9k24](/packages/joomlatools-composer)[opengento/composer-registration-plugin

This plugin allows to compile the Magento2 components registrations on composer install/update.

111.6k](/packages/opengento-composer-registration-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
