orisai / nette-di
Configure your Nette application
Installs: 92 918
Dependents: 18
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- php: 7.4 - 8.4
- nette/di: ^3.0.5
- orisai/exceptions: ^1.0.0
- orisai/utils: ^1.0.0
- symfony/polyfill-php80: ^1.27
Requires (Dev)
- brianium/paratest: ^6.3.0
- infection/infection: ^0.26.0|^0.27.0|^0.28.0|^0.29.0
- latte/latte: ^2.10.0|^3.0.0
- nette/http: ^3.0.0
- orisai/coding-standard: ^3.0.0
- orisai/vfs: ^1.0.0
- phpstan/extension-installer: ^1.0.0
- phpstan/phpstan: ^2.0.0
- phpstan/phpstan-deprecation-rules: ^2.0.0
- phpstan/phpstan-nette: ^2.0.0
- phpstan/phpstan-phpunit: ^2.0.0
- phpstan/phpstan-strict-rules: ^2.0.0
- phpunit/phpunit: ^9.5.0
- staabm/annotate-pull-request-from-checkstyle: ^1.7.0
- tracy/tracy: ^2.7.0
README
Nette DI
Configure your Nette application
📄 Check out our documentation.
💸 If you like Orisai, please make a donation. Thank you!
namespace App; use OriNette\DI\Boot\Environment; use OriNette\DI\Boot\ManualConfigurator; final class Bootstrap { public static function boot(): ManualConfigurator { $configurator = new ManualConfigurator(dirname(__DIR__)); $configurator->setDebugMode( Environment::isEnvDebug() || Environment::isLocalhost() ); $configurator->enableDebugger(); $configurator->addConfig(__DIR__ . '/wiring.neon'); $configurator->addConfig(__DIR__ . '/../config/local.neon'); return $configurator; } }
... and more.