geniv / nette-tracy-clean
Tracy clean extension for Nette Framework
Installs: 1 110
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.0
- nette/nette: >=2.4
README
Installation
$ composer require geniv/nette-tracy-clean
or
"geniv/nette-tracy-clean": "^1.0"
require:
"php": ">=7.0", "nette/nette": ">=2.4"
Include in application
neon configure:
# tracy clean tracyClean: # tracyClean: true # disableDebug: true # error404: true # error500: true # error503: true # maintenance: true # roles: @identityAuthorizatorAdmin.driver::getRoles() # roles: # - guest # - moderator # - admin # tracyCleanDirs: # - temp/cache # - temp/sessions # - admin/temp/cache # - admin/temp/sessions link: Old clean: url: "clean.php" target: _blank confirm: "Opravdu promazat?" Admin: url: "admin/" target: _blank # Admin2: # url: "admin/" # target: _self # Admin: "admin/" # Pokus: # link: Homepage:vzor ## OR roles: @identityAuthorizatorAdmin.driver::getRole()
neon configure extension (it is possible use anonymous extension):
extensions: tracyClean: TracyClean\Bridges\Nette\Extension # - TracyClean\Bridges\Nette\Extension
presenters (in case use named extension):
use TracyClean\TracyClean; class BasePresenter extends Presenter { use AutowiredComponent; use TracyClean;