Download the PHP package anzusystems/common-bundle without Composer
On this page you can find all versions of the php package anzusystems/common-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download anzusystems/common-bundle
More information about anzusystems/common-bundle
Files in anzusystems/common-bundle
Package common-bundle
Short Description Anzu common services, utils and helpers
License Apache-2.0
Informations about the package common-bundle
AnzuSystems Common Bundle by Petit Press a.s. (www.sme.sk)
Provides common functionality among Anzusystems' projects.
Installation
From within container execute the following command to download the latest version of the bundle:
Step 3: Use the Bundle
Change your src\Kernel.php
to extend AnzuSystems\CommonBundle\Kernel\AnzuKernel
.
AnzuKernel
requires for constructor some extra parameters:
It means, you have to initialize AnzuKernel
on all entry points.
-
public/index.php
should look like this: bin/console
should look like this:
Configuration
You must define config in config/packages/anzu_common.yaml
. Here is a fully listed config:
Setup permissions and their management
See Permission management
Documentation
Besides AnzuSystems' own serializer-bundle and contracts, common-bundle provides many functionalities, you can read about them in following categories:
- Argument Resolvers
- Debug
- Exception Handlers
- Fixtures
- Health Check
- Helpers
- Locks
- Logs
- Param Converters (deprecated)
- Proxy Cache
- Tests
- Traits
- Value Objects
- Permissions
Troubleshooting
Some packages as Google SDK requires environment variables to be defined globally.
Allow usage of putenv in your composer.json
All versions of common-bundle with dependencies
ext-json Version *
ext-mongodb Version *
ext-pcntl Version *
ext-redis Version *
ext-dom Version *
ext-zend-opcache Version *
anzusystems/contracts Version ^4.0
anzusystems/serializer-bundle Version ^4.0
doctrine/dbal Version ^4.0
doctrine/lexer Version ^3.0
doctrine/orm Version ^3.1
mongodb/mongodb Version ^1.9
monolog/monolog Version ^2.0|^3.0
nelmio/api-doc-bundle Version ^4.8
symfony/cache Version ^7.0
symfony/console Version ^6.0|^7.0
symfony/dependency-injection Version ^6.0|^7.0
symfony/dotenv Version ^6.0|^7.0
symfony/event-dispatcher Version ^6.0|^7.0
symfony/expression-language Version ^6.0|^7.0
symfony/framework-bundle Version ^6.0|^7.0
symfony/http-client-contracts Version ^3.1
symfony/http-kernel Version ^6.0|^7.0
symfony/lock Version ^6.0|^7.0
symfony/messenger Version ^6.0|^7.0
symfony/monolog-bundle Version >=3.7
symfony/polyfill-uuid Version ^1.23
symfony/runtime Version ^6.0|^7.0
symfony/security-bundle Version ^6.0|^7.0
symfony/uid Version ^6.0|^7.0
symfony/validator Version ^6.0|^7.0
symfony/yaml Version ^6.0|^7.0
ext-libxml Version *