"Fossies" - the Fresh Open Source Software Archive

Member "contao-4.4.48/README.md" (2 Apr 2020, 3273 Bytes) of package /linux/www/contao-4.4.48.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "README.md": 4.4.47_vs_4.4.48.

GitHub Codecov Packagist

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 split into separate packages automatically:

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 dev-master if you want to add a new feature or with <lts-version>.x-dev (currently 4.4.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": "^7.2",
    "contao/contao": "dev-master"
},

Again, use dev-master 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 your setup by opening https://your-domain.local/contao/install in your browser.

All the changes you make in vendor/contao/contao are be tracked via Git, so you can submit your pull request directly from within your application.

Running scripts

You can use the run script to run the code quality scripts:

./run phpunit
./run php-cs-fixer

License

Contao is licensed under the terms of the LGPLv3.

Getting support

Visit the support page to learn about the available support options.