contao / contao
Contao Open Source CMS development package
Fund package maintenance!
Other
Installs: 12 514
Dependents: 2
Suggesters: 0
Security: 17
Stars: 281
Watchers: 43
Forks: 151
Open Issues: 314
Type:symfony-bundle
Requires
- php: ^8.1
- composer-runtime-api: ^2.0.14
- ext-dom: *
- ext-filter: *
- ext-gd: *
- ext-hash: *
- ext-intl: *
- ext-json: *
- ext-pcre: *
- ext-pdo: *
- ext-session: *
- ext-zlib: *
- ausi/slug-generator: ^1.1
- bacon/bacon-qr-code: ^2.0
- contao-components/ace: ^1.8
- contao-components/chosen: ^2.0
- contao-components/colorbox: ^1.6
- contao-components/colorpicker: ^1.5
- contao-components/contao: ^9.1
- contao-components/datepicker: ^3.0
- contao-components/dropzone: ^5.0.1
- contao-components/jquery: ^3.5
- contao-components/jquery-ui: ^1.11.4
- contao-components/mediabox: ^1.5
- contao-components/mootools: ^1.6.0.1
- contao-components/simplemodal: ^3.0
- contao-components/swipe: ^2.0.3
- contao-components/tablesort: ^4.0
- contao-components/tablesorter: ^2.1
- contao-components/tinymce4: ^5.0 || ^6.0
- contao-components/tristen-tablesort: ^5.3
- contao/image: ^1.0
- contao/imagine-svg: ^1.0
- contao/manager-plugin: ^2.6.2
- debril/feed-io: ^6.0
- doctrine/collections: ^1.5
- doctrine/dbal: ^3.3
- doctrine/doctrine-bundle: ^2.4
- doctrine/orm: ^2.10
- doctrine/persistence: ^2.0
- dragonmantank/cron-expression: ^2.3
- friendsofsymfony/http-cache: ^2.6
- friendsofsymfony/http-cache-bundle: ^2.6
- guzzlehttp/promises: ^1.5
- imagine/imagine: ^1.2.4
- knplabs/knp-menu: ^3.1
- knplabs/knp-menu-bundle: ^3.0
- knplabs/knp-time-bundle: ^1.11
- lcobucci/jwt: ^4.0
- league/commonmark: ^2.2
- league/flysystem: ^3.0
- league/flysystem-bundle: ^2.0 || ^3.0
- matthiasmullie/minify: ^1.3
- monolog/monolog: ^2.0
- nelmio/cors-bundle: ^2.0.1
- nelmio/security-bundle: ^2.2
- nikic/php-parser: ^4.9
- nyholm/psr7: ^1.2
- paragonie/constant_time_encoding: ^2.2
- phpspec/php-diff: ^1.0
- phpunit/phpunit: ^9.5.19
- psr/cache: ^1.0 || ^2.0 || ^3.0
- psr/container: ^1.0
- psr/http-message: ^1.0
- psr/log: ^1.0 || ^2.0 || ^3.0
- scheb/2fa-backup-code: ^6.0
- scheb/2fa-bundle: ^6.0
- scheb/2fa-trusted-device: ^6.0
- scrivo/highlight.php: ^9.18
- scssphp/scssphp: ^1.5
- simplepie/simplepie: ^1.3
- spatie/schema-org: ^3.4
- spomky-labs/otphp: ^10.0
- symfony-cmf/routing: ^2.3 || ^3.0
- symfony-cmf/routing-bundle: ^2.4 || ^3.0
- symfony/asset: ^5.4 || ^6.0
- symfony/cache: ^5.4 || ^6.0
- symfony/cache-contracts: ^2.5
- symfony/config: ^5.4 || ^6.0
- symfony/console: ^5.4 || ^6.0
- symfony/debug-bundle: ^5.4 || ^6.0
- symfony/dependency-injection: ^5.4 || ^6.0
- symfony/deprecation-contracts: ^2.1 || ^3.0
- symfony/doctrine-bridge: ^5.4 || ^6.0
- symfony/doctrine-messenger: ^5.4 || ^6.0
- symfony/dom-crawler: ^5.4 || ^6.0
- symfony/dotenv: ^5.4 || ^6.0
- symfony/error-handler: ^5.4 || ^6.0
- symfony/event-dispatcher: ^5.4 || ^6.0
- symfony/event-dispatcher-contracts: ^2.0 || ^3.0
- symfony/expression-language: ^5.4 || ^6.0
- symfony/filesystem: ^5.4 || ^6.0
- symfony/finder: ^5.4 || ^6.0
- symfony/framework-bundle: ^6.1.2
- symfony/html-sanitizer: ^6.1
- symfony/http-client: ^5.4 || ^6.0
- symfony/http-client-contracts: ^2.4 || ^3.1
- symfony/http-foundation: ^5.4 || ^6.0
- symfony/http-kernel: ^5.4 || ^6.0
- symfony/intl: ^5.4 || ^6.0
- symfony/lock: ^5.4 || ^6.0
- symfony/mailer: ^5.4 || ^6.0
- symfony/maker-bundle: ^1.1
- symfony/messenger: ^6.1
- symfony/mime: ^5.4 || ^6.0
- symfony/monolog-bridge: ^5.4 || ^6.0
- symfony/monolog-bundle: ^3.1
- symfony/options-resolver: ^5.4 || ^6.0
- symfony/password-hasher: ^5.4 || ^6.0
- symfony/polyfill-intl-idn: ^1.0
- symfony/polyfill-mbstring: ^1.0
- symfony/process: ^5.4 || ^6.0
- symfony/property-access: ^5.4 || ^6.0
- symfony/rate-limiter: ^5.4 || ^6.0
- symfony/routing: ^5.4 || ^6.0
- symfony/security-bundle: ^6.0.2
- symfony/security-core: ^6.1
- symfony/security-csrf: ^6.0
- symfony/security-http: ^6.0
- symfony/service-contracts: ^2.2
- symfony/stopwatch: ^5.4 || ^6.0
- symfony/string: ^5.4 || ^6.0
- symfony/translation: ^5.4 || ^6.0
- symfony/translation-contracts: ^2.3
- symfony/twig-bridge: ^6.1
- symfony/twig-bundle: ^6.1.1
- symfony/uid: ^5.4 || ^6.0
- symfony/var-dumper: ^5.4 || ^6.0
- symfony/web-profiler-bundle: ^5.4 || ^6.0
- symfony/yaml: ^5.4 || ^6.0
- terminal42/escargot: ^1.4.1
- terminal42/service-annotation-bundle: ^1.1
- toflar/psr6-symfony-http-cache-store: ^3.0 || ^4.0
- twig/extra-bundle: ^3.0
- twig/string-extra: ^3.0
- twig/twig: ^3.1
- ua-parser/uap-php: ^3.9
- webignition/robots-txt-file: ^3.0
- wikimedia/less.php: ^1.7
Requires (Dev)
- ext-fileinfo: *
- bamarni/composer-bin-plugin: ^1.4
- composer/composer: ^2.0
- league/flysystem-memory: ^3.0
- roave/better-reflection: ^4.12.2 || ^5.0
- symfony/browser-kit: ^5.4 || ^6.0
- symfony/phpunit-bridge: ^5.4 || ^6.0
Conflicts
- contao-community-alliance/composer-plugin: <3.0
- contao/core: *
- contao/manager-plugin: <2.0 || >=3.0
- doctrine/annotations: <1.9
- doctrine/cache: <1.10
- doctrine/dbal: 3.3.0
- friendsofsymfony/http-cache: 2.14.0
- nikic/php-parser: 4.7.0
- phpunit/phpunit: <8.0
- roave/better-reflection: <4.12.2 || >=6.0
- symfony/dependency-injection: 5.4.16 || 6.0.16 || 6.1.8 || 6.2.0 || 6.2.1
- terminal42/contao-ce-access: <3.0
- thecodingmachine/safe: <1.2
- zendframework/zend-code: <3.3.1
Replaces
- contao/calendar-bundle: 5.1.7
- contao/comments-bundle: 5.1.7
- contao/core-bundle: 5.1.7
- contao/faq-bundle: 5.1.7
- contao/listing-bundle: 5.1.7
- contao/maker-bundle: 5.1.7
- contao/manager-bundle: 5.1.7
- contao/news-bundle: 5.1.7
- contao/newsletter-bundle: 5.1.7
- contao/test-case: 5.1.7
- 5.x-dev
- 5.1.x-dev
- 5.1.7
- 5.1.6
- 5.1.5
- 5.1.4
- 5.1.3
- 5.1.2
- 5.1.1
- 5.1.0
- 5.1.0-RC3
- 5.1.0-RC2
- 5.1.0-RC1
- 5.0.10
- 5.0.9
- 5.0.8
- 5.0.7
- 5.0.6
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- 5.0.0-RC4
- 5.0.0-RC3
- 5.0.0-RC2
- 5.0.0-RC1
- 4.13.x-dev
- 4.13.24
- 4.13.23
- 4.13.22
- 4.13.21
- 4.13.20
- 4.13.19
- 4.13.18
- 4.13.17
- 4.13.16
- 4.13.15
- 4.13.14
- 4.13.13
- 4.13.12
- 4.13.11
- 4.13.10
- 4.13.9
- 4.13.8
- 4.13.7
- 4.13.6
- 4.13.5
- 4.13.4
- 4.13.3
- 4.13.2
- 4.13.1
- 4.13.0
- 4.13.0-RC3
- 4.13.0-RC2
- 4.13.0-RC1
- 4.12.7
- 4.12.6
- 4.12.5
- 4.12.4
- 4.12.3
- 4.12.2
- 4.12.1
- 4.12.0
- 4.12.0-RC3
- 4.12.0-RC2
- 4.12.0-RC1
- 4.11.9
- 4.11.8
- 4.11.7
- 4.11.6
- 4.11.5
- 4.11.4
- 4.11.3
- 4.11.2
- 4.11.1
- 4.11.0
- 4.11.0-RC2
- 4.11.0-RC1
- 4.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 4.4.32
- 4.4.31
- 4.4.30
- 4.4.29
- 4.4.28
- 4.4.27
- 4.4.26
- 4.4.25
- 4.4.24
- 4.4.23
- 4.4.22
This package is auto-updated.
Last update: 2023-06-09 10:18:16 UTC
README
About
Contao is a powerful open source CMS that allows you to create professional websites and scalable web applications. Visit the project website for more information.
Purpose
The purpose of this package is to develop the Contao bundles. Use it if you e.g. want to create a pull request or if you want to report an issue.
The monorepo is automatically split into separate packages:
- CalendarBundle
- CommentsBundle
- CoreBundle
- FaqBundle
- ListingBundle
- MakerBundle
- ManagerBundle
- NewsBundle
- NewsletterBundle
Please do not use contao/contao
in production! Use the split packages instead.
Development
To create a pull request and to test your changes within a running Contao application, it is the easiest to use the Contao Managed Edition. Start by installing it in your current directory:
composer create-project --no-install contao/managed-edition <directory> <branch>
Replace <directory>
with the directory you want to install the Managed Edition in (use .
for the current one).
Replace <branch>
with 5.x-dev
if you want to add a new feature or with <lts-version>.x-dev
(currently 4.9.x-dev
)
if you want to fix a bug.
Then adjust the require
section in your composer.json
file, so Composer loads the monorepo instead of the individual
bundles:
"require": { "php": "^8.0", "contao/contao": "5.x-dev" },
Again, use 5.x-dev
if you want to add a new feature or <lts-version>.x-dev
if you want to fix a bug.
Next, install the dependencies:
composer update
Composer will automatically clone the Git repo into the vendor/contao/contao
folder. You can finish the setup by
running contao:setup
on the command line.
All the changes you make in vendor/contao/contao
are tracked via Git, so you can submit your pull request directly
from within your application.
Running scripts
First install the code quality tools:
composer bin all install
Then run the code quality scripts via Composer:
composer run all
You can also run the scripts separately:
composer run unit-tests composer run functional-tests composer run cs-fixer composer run service-linter composer run phpstan composer run require-checker composer run monorepo-tools
If you want to pass additional flags to the underlying commands, you can use the --
argument:
composer run unit-tests -- --filter CoreBundle composer run cs-fixer -- --clear-cache
Functional tests
To set up the functional tests, create a database named contao_test
:
mysql -e "CREATE DATABASE contao_test"
If your database uses credentials, copy the file core-bundle/phpunit.xml.dist
to core-bundle/phpunit.xml
and adjust
the following line:
<php> <env name="DATABASE_URL" value="mysql://root@localhost:3306/contao_test" /> </php>
Then run the functional tests via the run
command:
composer run functional-tests
License
Contao is licensed under the terms of the LGPLv3.
Getting support
Visit the support page to learn about the available support options.