PHPackages                             setono/composite-compiler-pass - 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. setono/composite-compiler-pass

ActiveLibrary

setono/composite-compiler-pass
==============================

A composite compiler pass for Symfony to make it even easier to create composite services

v1.2.0(1y ago)186.0k↓34.8%11MITPHPPHP &gt;=7.4

Since Apr 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Setono/composite-compiler-pass)[ Packagist](https://packagist.org/packages/setono/composite-compiler-pass)[ RSS](/packages/setono-composite-compiler-pass/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (11)

Composite Compiler Pass for Symfony
===================================

[](#composite-compiler-pass-for-symfony)

[![Latest Version](https://camo.githubusercontent.com/2be92597944a1694f578ac8f38de49ff1f19e5f251b8931c2ee302bf67e46011/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f636f6d706f736974652d636f6d70696c65722d706173732f762f737461626c65)](https://packagist.org/packages/setono/composite-compiler-pass)[![Software License](https://camo.githubusercontent.com/87cddb3a32354e3e541d2670892cfe2129d9141b09bb5d2176d14076b0fa3c78/68747470733a2f2f706f7365722e707567782e6f72672f7365746f6e6f2f636f6d706f736974652d636f6d70696c65722d706173732f6c6963656e7365)](LICENSE)[![Build Status](https://github.com/Setono/composite-compiler-pass/workflows/build/badge.svg)](https://github.com/Setono/composite-compiler-pass/actions)[![Code Coverage](https://camo.githubusercontent.com/fd2b2645b9e7a8aa8d4daba3e7e16a3358054eaa04f4daea93553585503377ce/68747470733a2f2f636f6465636f762e696f2f67682f5365746f6e6f2f636f6d706f736974652d636f6d70696c65722d706173732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Setono/composite-compiler-pass)[![Mutation testing](https://camo.githubusercontent.com/f3c168e7ac838257d12d616340c3557c435e90b9a522e9a7d37a3251c850a8ed/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532465365746f6e6f253246636f6d706f736974652d636f6d70696c65722d706173732532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/Setono/composite-compiler-pass/master)

When you use composite services you find yourself writing the same compiler pass over and over again. This library will give you the compiler pass you need so you don't have to think about it again.

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

[](#installation)

```
composer require setono/composite-compiler-pass
```

Usage
-----

[](#usage)

Let's presume you have a composite service like this:

```
