Installation
Installing Ecotone for Symfony, Laravel or Stand Alone
Last updated
Was this helpful?
Installing Ecotone for Symfony, Laravel or Stand Alone
Last updated
Was this helpful?
Use composer in order to download Ecotone Symfony Bundle
composer require symfony-bundle
If you're using Symfony Flex, bundle will auto-configure. If that did not happen, register bundle in config/bundles.php
By default Ecotone will look for Attributes in default Symfony catalog "src". If you do follow different structure, you can use configuration to tell Ecotone, where to look for.
Use composer in order to download Ecotone Laravel
composer require laravel
Provider should be automatically registered. If that did not happen, register provider
By default Ecotone will look for Attributes in default Laravel catalog "app". If you do follow different structure, you can use configuration to tell Ecotone, where to look for.
If you're using no framework or framework different than Symfony or Laravel, then you may use Ecotone Lite to bootstrap Ecotone.
composer require ecotone/ecotone
If you already have Dependency Container configured, then:
By default Ecotone will look for Attributes only in Classes provided under "classesToResolve". If we want to look for Attributes in given set of Namespaces, we can pass it to the configuration.
You may actually run Ecotone without any Dependency Container. That may be useful for small applications, testing or when we want to run some small Ecotone's script.
You may use out of the box Ecotone Lite Application, which provide you with Dependency Container.
composer require ecotone/lite-application