PHPackages                             adt/nette-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. [Framework](/categories/framework)
4. /
5. adt/nette-proxy

ActiveLibrary[Framework](/categories/framework)

adt/nette-proxy
===============

Integration of Proxy Manager into Nette Framework

v1.0(2y ago)011.2k↓40%MITPHP

Since Dec 20Pushed 2y agoCompare

[ Source](https://github.com/AppsDevTeam/nette-proxy)[ Packagist](https://packagist.org/packages/adt/nette-proxy)[ RSS](/packages/adt-nette-proxy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (4)Used By (0)

Lookyman/Nette/Proxy
====================

[](#lookymannetteproxy)

Integration of [Proxy Manager](https://ocramius.github.io/ProxyManager) into [Nette Framework](https://nette.org).

[![Build Status](https://camo.githubusercontent.com/5a64a02803b65b3fdee9d110f807a92f424e920fe4e2e11903143b0d58eca1d7/68747470733a2f2f7472617669732d63692e6f72672f6c6f6f6b796d616e2f6e657474652d70726f78792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lookyman/nette-proxy)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/bc3c204b41ae38c2aeaaeaf09a57c37fae3a1f8dc854ae02c5f0248d29fc398e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c6f6f6b796d616e2f6e657474652d70726f78792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/lookyman/nette-proxy/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/8a838c2a42259b9267ad147bf299d4c084abb6c57858e2218ceccf28be07c27b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6c6f6f6b796d616e2f6e657474652d70726f78792f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/lookyman/nette-proxy?branch=master)[![Downloads](https://camo.githubusercontent.com/306e7a94876ac265495c46c4c61009cffc848104784f6aea943803dce08e0f1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6f6b796d616e2f6e657474652d70726f78792e737667)](https://packagist.org/packages/lookyman/nette-proxy)[![Latest stable](https://camo.githubusercontent.com/6352e2e5d4b6cb73630b44ba0fd60b835763801cf2519e2b3671dbc4fe4617aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f6f6b796d616e2f6e657474652d70726f78792e737667)](https://packagist.org/packages/lookyman/nette-proxy)

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

[](#installation)

### Install

[](#install)

```
composer require lookyman/nette-proxy
```

### Config

[](#config)

```
extensions:
	proxy: Lookyman\Nette\Proxy\DI\ProxyExtension

proxy:
	proxyDir: %appDir%/../temp/proxies # this is the default value
	default: off # turn on to proxy everything
```

### Usage

[](#usage)

Tag services with `lookyman.lazy` and they get magically proxied.

```
services:
	-
		class: MyHeavyService
		tags: [lookyman.lazy]
```

If you have `proxy.default` turned on and you don't want a particular service to be proxied, you can do it like this:

```
services:
	-
		class: DontProxyMeService
		tags: [lookyman.lazy: off]
```

Proxying certain Nette services is automaticaly disabled due to [known limitations](https://ocramius.github.io/ProxyManager/docs/lazy-loading-value-holder.html#known-limitations).

### Pre-generating proxies

[](#pre-generating-proxies)

Proxy generation causes I/O operations and uses a lot of reflection, so it is handy to have them pre-generated before the application starts. For this, install [Kdyby/Console](https://github.com/kdyby/console) and run:

```
php www/index.php lookyman:nette-proxy:generate
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

968d ago

### Community

Maintainers

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

---

Top Contributors

[![lookyman](https://avatars.githubusercontent.com/u/3863468?v=4)](https://github.com/lookyman "lookyman (8 commits)")[![thorewi](https://avatars.githubusercontent.com/u/605858?v=4)](https://github.com/thorewi "thorewi (8 commits)")[![jiripudil](https://avatars.githubusercontent.com/u/1042159?v=4)](https://github.com/jiripudil "jiripudil (1 commits)")[![Walusyak](https://avatars.githubusercontent.com/u/20837611?v=4)](https://github.com/Walusyak "Walusyak (1 commits)")

---

Tags

proxynettelazy

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/adt-nette-proxy/health.svg)

```
[![Health](https://phpackages.com/badges/adt-nette-proxy/health.svg)](https://phpackages.com/packages/adt-nette-proxy)
```

###  Alternatives

[nette/di

💎 Nette Dependency Injection Container: Flexible, compiled and full-featured DIC with perfectly usable autowiring and support for all new PHP features.

92340.6M1.4k](/packages/nette-di)[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68535.8M592](/packages/nette-bootstrap)[contributte/webpack

Webpack integration for Nette Framework.

471.0M1](/packages/contributte-webpack)[nette/web-project

Nette: Standard Web Project

10991.8k](/packages/nette-web-project)[kdyby/autowired

Syntax sugar for working with services in Nette Framework

30885.7k9](/packages/kdyby-autowired)

PHPackages © 2026

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