{"id":37001494,"url":"https://github.com/lookyman/nette-proxy","last_synced_at":"2026-01-14T00:11:03.263Z","repository":{"id":13039326,"uuid":"73396051","full_name":"lookyman/nette-proxy","owner":"lookyman","description":"Integration of https://ocramius.github.io/ProxyManager into Nette Framework","archived":true,"fork":false,"pushed_at":"2021-12-20T12:43:37.000Z","size":12,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-30T02:28:27.292Z","etag":null,"topics":["lazy","nette","proxy"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lookyman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-10T15:41:26.000Z","updated_at":"2024-05-04T15:58:53.000Z","dependencies_parsed_at":"2022-07-15T13:24:31.092Z","dependency_job_id":null,"html_url":"https://github.com/lookyman/nette-proxy","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lookyman/nette-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lookyman%2Fnette-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lookyman%2Fnette-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lookyman%2Fnette-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lookyman%2Fnette-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lookyman","download_url":"https://codeload.github.com/lookyman/nette-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lookyman%2Fnette-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lazy","nette","proxy"],"created_at":"2026-01-14T00:11:02.607Z","updated_at":"2026-01-14T00:11:03.247Z","avatar_url":"https://github.com/lookyman.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Lookyman/Nette/Proxy\n====================\n\nIntegration of [Proxy Manager](https://ocramius.github.io/ProxyManager) into [Nette Framework](https://nette.org).\n\n[![Build Status](https://travis-ci.org/lookyman/nette-proxy.svg?branch=master)](https://travis-ci.org/lookyman/nette-proxy)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/lookyman/nette-proxy/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/lookyman/nette-proxy/?branch=master)\n[![Coverage Status](https://coveralls.io/repos/github/lookyman/nette-proxy/badge.svg?branch=master)](https://coveralls.io/github/lookyman/nette-proxy?branch=master)\n[![Downloads](https://img.shields.io/packagist/dt/lookyman/nette-proxy.svg)](https://packagist.org/packages/lookyman/nette-proxy)\n[![Latest stable](https://img.shields.io/packagist/v/lookyman/nette-proxy.svg)](https://packagist.org/packages/lookyman/nette-proxy)\n\n\nInstallation\n------------\n\n### Install\n\n```sh\ncomposer require lookyman/nette-proxy\n```\n\n### Config\n\n```yaml\nextensions: \n\tproxy: Lookyman\\Nette\\Proxy\\DI\\ProxyExtension\n\t\nproxy:\n\tproxyDir: %appDir%/../temp/proxies # this is the default value\n\tdefault: off # turn on to proxy everything\n```\n\n### Usage\n\nTag services with `lookyman.lazy` and they get magically proxied.\n\n```yaml\nservices: \n\t-\n\t\tclass: MyHeavyService\n\t\ttags: [lookyman.lazy]\n```\n\nIf you have `proxy.default` turned on and you don't want a particular service to be proxied, you can do it like this:\n\n```yaml\nservices: \n\t-\n\t\tclass: DontProxyMeService\n\t\ttags: [lookyman.lazy: off]\n```\n\nProxying certain Nette services is automaticaly disabled due to [known limitations](https://ocramius.github.io/ProxyManager/docs/lazy-loading-value-holder.html#known-limitations).\n\n### Pre-generating proxies\n\nProxy 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:\n\n```sh\nphp www/index.php lookyman:nette-proxy:generate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flookyman%2Fnette-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flookyman%2Fnette-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flookyman%2Fnette-proxy/lists"}