Skip to content

drewmelck/contao

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

The aim here is to integrate with PLatform.sh!

Contao Open Source CMS

Contao is an Open Source PHP Content Management System for people who want a professional website that is easy to maintain. Visit the project website for more information.

System requirements

  • Web server with symlink support
  • PHP 5.4+ with GDlib, DOM, Phar, openssl and SOAP
  • MySQL 5.5+

Prerequisites

  • A Symfony 2.6+ installation

If you do not yet have a Symfony installation, we recommend installing the Contao standard edition.

Installation

Open a command console, enter your project directory and add the following to your composer.json file:

"require": {
    "contao/contao": "~4.0"
},
"config": {
    "component-dir": "assets"
},
"post-install-cmd": {
    "Contao\\CoreBundle\\Composer\\ScriptHandler::addContaoDirectories"
},
"post-update-cmd": {
    "Contao\\CoreBundle\\Composer\\ScriptHandler::addContaoDirectories"
}

Then run php composer.phar update to install the vendor files.

Activation

Add the following lines to your app/AppKernel.php file:

// app/AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Contao\CoreBundle\ContaoCoreBundle(),
            new Contao\CoreBundle\ContaoCalendarBundle(),
            new Contao\CoreBundle\ContaoCommentsBundle(),
            new Contao\CoreBundle\ContaoFaqBundle(),
            new Contao\CoreBundle\ContaoListingBundle(),
            new Contao\CoreBundle\ContaoNewsBundle(),
            new Contao\CoreBundle\ContaoNewsletterBundle(),
        );

        \Contao\CoreBundle\Kernel\BundleSorter::sort($bundles);

        // ...
    }
}

You can optionally omit everything but the ContaoCoreBundle.

License

Contao is licensed under the terms of the LGPLv3.

Getting support

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

About

Contao 4 meta package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published