PHPackages                             teknoo/composer-install - 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. teknoo/composer-install

AbandonedArchivedComposer-plugin

teknoo/composer-install
=======================

Composer plugin allowing the creation of a functional package 'out of the box' as well as a cleaning of the project when it is uninstalled.

6.1.2(4y ago)298MITPHPPHP ~8.0

Since Nov 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/TeknooSoftware/composer-install)[ Packagist](https://packagist.org/packages/teknoo/composer-install)[ Docs](https://teknoo.software/composer-install)[ GitHub Sponsors](https://github.com/sponsors/TeknooSoftware)[ Patreon](https://www.patreon.com/teknoo_software)[ RSS](/packages/teknoo-composer-install/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (10)Versions (23)Used By (0)

Teknoo Software - Composer Intsall
==================================

[](#teknoo-software---composer-intsall)

[![Latest Stable Version](https://camo.githubusercontent.com/72109923e1ec0a412314c497617a10f8c6e2c22cbea3bb738926a779939dd2bf/68747470733a2f2f706f7365722e707567782e6f72672f74656b6e6f6f2f636f6d706f7365722d696e7374616c6c2f762f737461626c65)](https://packagist.org/packages/teknoo/composer-install)[![Latest Unstable Version](https://camo.githubusercontent.com/0dc54e5ad1b3f7981e425ca41734284517696d09c64be8aaa04598859060bab6/68747470733a2f2f706f7365722e707567782e6f72672f74656b6e6f6f2f636f6d706f7365722d696e7374616c6c2f762f756e737461626c65)](https://packagist.org/packages/teknoo/composer-install)[![Total Downloads](https://camo.githubusercontent.com/3969623ac55a70d09ca60f1c610bb2ab0d93c82fd71cbd133df631f256aed46f/68747470733a2f2f706f7365722e707567782e6f72672f74656b6e6f6f2f636f6d706f7365722d696e7374616c6c2f646f776e6c6f616473)](https://packagist.org/packages/teknoo/composer-install)[![License](https://camo.githubusercontent.com/a705f985c528d4b43ba4c8cb339f471bc0019db93c4550d6ded0e566dc398c9d/68747470733a2f2f706f7365722e707567782e6f72672f74656b6e6f6f2f636f6d706f7365722d696e7374616c6c2f6c6963656e7365)](https://packagist.org/packages/teknoo/composer-install)[![PHPStan](https://camo.githubusercontent.com/441b5874ce4df0a2defc892979c96c46889b69cb32119d04f0b48626349f8bc9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/phpstan/phpstan)

**This package is currently deprecated, please use Symfony Flex for Symfony integration**

Composer plugin allowing the creation of a functional package "out of the box" as well as a cleaning of the project when it is uninstalled.

This performs some automated install/update or uninstall operations when a package is installed, updated or uninstalled via Composer. Operations are managed by `Action` classes, implementing `Teknoo\Composer\Action\ActionInterface`, provided by this plugin or your packages.

Arguments or configuration to pass to actions must be defined as extra, under the key `Teknoo\\Composer\\Installer` like the following example. It comes with actions dedicated to install bundles for Symfony 4.0+ :

- updating the `bundles.php` file
- copy/clean some configuration files into `config/packages` folder.
- copy/clean routes files into `config/routes` foler.

Quick Example
-------------

[](#quick-example)

```
{
    "name": "your-company/your-package",
    [...]
    "extra": {
        "Teknoo\\Composer\\Installer": {
            "config": {
                #To configure Teknoo\\Composer\\Installer
                #disabled: true #to disabled installer in the current composer project
            },
            #To add some bundle in bundles.php
            "Teknoo\\Composer\\Action\\SymfonyBundle": {
                "Your\\Company\\Bundle": {"all":  true},
                "Your\\Another\\Company\\Bundle": {"dev": true }
            },
            #To add/update some file in config/packages
            "Teknoo\\Composer\\Action\\SymfonyPackages": {
                "bundle_config.yaml": [
                    "# Read the documentation:",
                    "my_bundle:",
                    "  foo:",
                    "    - 'bar'",
                    "    - '%kernel.project_dir%/vendor/foo/bar.php'",
                    "  bar:",
                    "    foo: 42"
                ],
                "bundle_another_config.yaml": "foo\\nbar",,
                "bundle_another_config.yaml": {
                    "base64": "aGVsbG8gd29ybGQ="
                },
            }
        }
    }
}

```

Support this project
--------------------

[](#support-this-project)

This project is free and will remain free. It is fully supported by the activities of the EIRL. If you like it and help me maintain it and evolve it, don't hesitate to support me on [Patreon](https://patreon.com/teknoo_software) or [Github](https://github.com/sponsors/TeknooSoftware).

Thanks :) Richard.

Credits
-------

[](#credits)

EIRL Richard Déloge -  - Lead developer. SASU Teknoo Software -

About Teknoo Software
---------------------

[](#about-teknoo-software)

**Teknoo Software** is a PHP software editor, founded by Richard Déloge, as part of EIRL Richard Déloge. Teknoo Software's goals : Provide to our partners and to the community a set of high quality services or software, sharing knowledge and skills.

License
-------

[](#license)

Composer Install is licensed under the MIT License - see the licenses folder for details.

Installation &amp; Requirements
-------------------------------

[](#installation--requirements)

To install this library with composer, run this command :

```
composer require teknoo/composer-install

```

This library requires :

```
* PHP 8.0+
* Composer 2.0+

```

Contribute :)
-------------

[](#contribute-)

You are welcome to contribute to this project. [Fork it on Github](CONTRIBUTING.md)

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

 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 ~41 days

Recently: every ~122 days

Total

22

Last Release

1119d ago

Major Versions

0.0.15 → 6.1.22021-11-16

PHP version history (4 changes)0.0.1PHP ~7.4||~8.0

0.0.12PHP ~8.0

0.0.19PHP ^8.0

0.0.22PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/e78f8fa644d9bbbd96dc92b2210e1290250522e56365345442c56eb8d042fb53?d=identicon)[frenchcomp](/maintainers/frenchcomp)

---

Top Contributors

[![frenchcomp](https://avatars.githubusercontent.com/u/1397905?v=4)](https://github.com/frenchcomp "frenchcomp (81 commits)")

---

Tags

plugincomposerinstallerautomatedinstallupdateuninstall

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[pyrech/composer-changelogs

Display changelogs after each composer update

5904.0M25](/packages/pyrech-composer-changelogs)[sllh/composer-versions-check

Checks if packages are up to date to last major versions after update

2352.4M16](/packages/sllh-composer-versions-check)[infinum/eightshift-libs

WordPress libs developed by Eightshift team to use in modern WordPress.

63118.9k3](/packages/infinum-eightshift-libs)[craftcms/plugin-installer

Craft CMS Plugin Installer

283.3M4](/packages/craftcms-plugin-installer)

PHPackages © 2026

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