承接 adt/nette-proxy 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

adt/nette-proxy

Composer 安装命令:

composer require adt/nette-proxy

包简介

Integration of Proxy Manager into Nette Framework

README 文档

README

Integration of Proxy Manager into Nette Framework.

Build Status Scrutinizer Code Quality Coverage Status Downloads Latest stable

Installation

Install

composer require lookyman/nette-proxy

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

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.

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 and run:

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

统计信息

  • 总下载量: 12.22k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固