- What is rinvex/laravel-composer used for?
- It is a Composer plugin that uses the Composer Plugin API to add actions during install, update, and uninstall, such as running custom scripts or installing packages outside the default vendor directory. It is intended for build and deployment tooling, not for Laravel application runtime features. The technical assessment recommends treating it as a reference implementation or short-lived spike unless a narrowly scoped requirement justifies an owned fork.
- Is rinvex/laravel-composer a Laravel package or a Composer plugin?
- Despite the Laravel-oriented name, it is a Composer plugin rather than a Laravel runtime package. It operates at the Composer level and affects package installation workflows. Laravel version compatibility is therefore secondary to Composer version and composer-plugin-api compatibility.
- How do I install rinvex/laravel-composer in a Laravel project?
- Adoption requires root-level composer.json changes and Composer plugin allow-listing, especially under Composer 2.2 and later. Prototype it in an isolated branch or CI job rather than adding it directly to a production composer.json. Because the repository is archived, an internal fork and pinned version or commit are advisable for any real use.
- Does rinvex/laravel-composer support Laravel 10, 11, or 12?
- The package works at the Composer level, so Laravel framework version compatibility is secondary. The more important checks are Composer 2.x behavior, PHP 8.x support, and the composer-plugin-api constraint. Since the upstream repository is archived, no guarantees should be assumed for newer Laravel or Composer releases.
- Can rinvex/laravel-composer install packages outside the vendor directory?
- Yes, one of its differentiating behaviors is installing packages outside the default vendor library. That conflicts with standard Composer and Laravel autoloading conventions and can complicate deployment, caching, and security scanning. Use native Composer repositories, path repositories, or custom installers first, and only adopt this if the gap is material.
- What are the security risks of using rinvex/laravel-composer?
- It can execute arbitrary custom scripts during install, update, and uninstall, which creates supply-chain exposure. You must review and allow-list Composer plugins, audit script execution, and control external install paths. The archived upstream status increases risk because bug and security fixes will not arrive from the original maintainer.
- Is rinvex/laravel-composer still maintained?
- The repository is archived and shows minimal adoption signals, including 11 stars and a low score in the assessment. There are no upstream bug fixes or security patches expected. Any production use would require an internal fork, a named owner, and ongoing Composer upgrade compatibility work.
- What alternatives should I consider before using rinvex/laravel-composer?
- Most custom lifecycle actions can be handled with native Composer scripts, and package layout changes can usually be handled with Composer repositories, path repositories, or a maintained custom installer. These native options avoid plugin allow-listing and arbitrary script-execution risk. Only proceed with this package if you can prove those alternatives cannot meet the requirement.
- How should I test rinvex/laravel-composer before adopting it?
- Run a proof of concept in an isolated branch or CI job with explicit plugin allow-listing. Validate install, update, and uninstall behavior on Composer 2.x and PHP 8.x, including your CI images and deployment platform. Add regression tests for Composer upgrades and document a rollback or removal plan before any rollout.
- Can I use rinvex/laravel-composer in production?
- The technical assessment rates it high risk for production because it is archived, has low adoption, and executes scripts during Composer operations. It should be limited to build or deployment workflows only, with an internal fork pinned to a specific version or commit. Complete a security review and define an accountable maintainer and rollback path before considering it.