contao-community-alliance / contao-polyfill-bundle
This polyfill bundle support some contao features in older versions.
Installs: 14 533
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 10
Forks: 2
Open Issues: 1
Type:contao-bundle
Requires
- php: ^7.1
- contao/core-bundle: ^4.4
- contao/installation-bundle: ^4.4
- doctrine/dbal: ^2.5
- ocramius/package-versions: ^1.4
- symfony/asset: ^3.4 || ^4.0 || ^5.0
- symfony/config: ^3.4 || ^4.0 || ^5.0
- symfony/console: ^3.4 || ^4.0 || ^5.0
- symfony/dependency-injection: ^3.4.26 || ^4.2.7 || ^5.0
- symfony/filesystem: ^3.4 || ^4.0 || ^5.0
- symfony/finder: ^3.4 || ^4.0 || ^5.0
- symfony/http-foundation: ^3.4.35 || ^4.4.7 || ^5.0.7
- symfony/http-kernel: ^3.4.35 || ^4.4.13 || ^5.1.5
Requires (Dev)
- contao/conflicts: @dev
- contao/manager-plugin: ^2.2
- php-http/mock-client: ^1.0
- phpcq/all-tasks: ^1.2
This package is auto-updated.
Last update: 2024-10-29 05:46:51 UTC
README
Contao Polyfill Bundle
This bundle allows you to use Contao features in earlier versions.
For every single feature there is the possibility to deactivate it. See the corresponding description.
The following functions are backported in the package:
Tagged Hooks
This feature is automatically loaded in Contao versions less than 4.5.
What this feature entails, you can read here.
If you want to disable this, add the following to your config.yml.
cca_polyfill45: tagged_hooks: false
Asset
This feature is automatically loaded in Contao versions less than 4.5.
What this feature entails, you can read here.
The function to include asset $this->asset()
via the template is not supported.
You can use the insert tag {{asset::path}}
as a replacement.
If you want to disable this, add the following to your config.yml.
cca_polyfill45: asset: false
Migration
This feature is automatically loaded in Contao versions less than 4.9.
What this feature entails, you can read here.
If you want to disable this, add the following to your config.yml.
cca_polyfill49: migration: false