PHPackages                             openclassrooms/service-proxy - 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. openclassrooms/service-proxy

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

openclassrooms/service-proxy
============================

Library

v10.0.0(10mo ago)1404.2k↑44.7%2[4 PRs](https://github.com/OpenClassrooms/ServiceProxy/pulls)1MITPHPPHP &gt;=8.1

Since Nov 24Pushed 5mo ago18 watchersCompare

[ Source](https://github.com/OpenClassrooms/ServiceProxy)[ Packagist](https://packagist.org/packages/openclassrooms/service-proxy)[ RSS](/packages/openclassrooms-service-proxy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (36)Versions (79)Used By (1)

Service Proxy
=============

[](#service-proxy)

[![Build Status](https://camo.githubusercontent.com/a52290db489157da361bf3782dfd501e1fee240bb737555716e2b8eb010ca7cd/68747470733a2f2f7472617669732d63692e6f72672f4f70656e436c617373726f6f6d732f5365727669636550726f78792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/OpenClassrooms/ServiceProxy)[![SensioLabsInsight](https://camo.githubusercontent.com/5d77f5bf3e1acb8d1f71b57b5d672907166f490bed09fb78ff6e47d5c0d7935b/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f65303834306534342d386631342d343632302d393663662d3736333030373237653830382f6d696e692e706e67)](https://insight.sensiolabs.com/projects/e0840e44-8f14-4620-96cf-76300727e808)[![PHPStan](https://camo.githubusercontent.com/ff9142aa79e58bd482fac3aff00d4bea75e9b4a0e2f4908bb26d1b7f5df3a5ab/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230372d627269676874677265656e2e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/ff9142aa79e58bd482fac3aff00d4bea75e9b4a0e2f4908bb26d1b7f5df3a5ab/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230372d627269676874677265656e2e7376673f7374796c653d666c6174)[![PHP](https://camo.githubusercontent.com/9af2c6fdac886a8ffaa43d4b2c60aeb8b45260d9d6235c64b1fbb674b03c70e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d253230372e342d627269676874677265656e2e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/9af2c6fdac886a8ffaa43d4b2c60aeb8b45260d9d6235c64b1fbb674b03c70e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d253230372e342d627269676874677265656e2e7376673f7374796c653d666c6174)[![Coverage](../coverage/coverage.svg?raw=true)](../coverage/coverage.svg?raw=true)

Service Proxy is a library that provides functionality to manage technical code over a class:

- Transactional context
- Security access
- Cache management
- Events
- Logs (not implemented yet)

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

[](#installation)

The easiest way to install ServiceProxy is via [composer](http://getcomposer.org/).

Create the following `composer.json` file and run the `php composer.phar install` command to install it.

```
{
    "require": {
        "openclassrooms/service-proxy": "*"
    }
}
```

```
