Giter VIP home page Giter VIP logo

petzka-demo-bundle's Introduction

GitHub Logo

Contao 4 - Demo Bundle

This demo is a basic Contao/Symfony Bundle
with examples for

• Backend Module
• Backend Widget
• Data Handling
• Content Element
• Frontend Module
• Frontend Widget
• Model
• Service

Add bundle as Git-Repository

add code to <contao root path>/composer.json

{
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/jodermo/petzka-demo-bundle.git"
        }
    ],
    "require": {
        "petzka/demo-bundle": "dev-master"
    },
    "config": {
        "preferred-install": {
            "petzka/*": "source",
            "*": "dist"
        }
    },
}

Add bundle as local repository

add code to <contao root path>/composer.json

{
    "...": "...",
    "repositories": [
        {
            "type": "path",
            "url": "repositories/petzka-demo-bundle"
        }
    ],
    "require": {
        "...": "...",
        "petzka/demo-bundle": "dev-master"
    },
    "config": {
        "preferred-install": {
            "petzka/*": "source",
            "*": "dist"
        }
    },
}

Customize

Customize this files:

.php_cs.php
composer.json
phpunit.xml.dist

Then rename all files and/or the references to DemoBundle in src/ and tests/:


How to work with Contao 4 and Troubleshooting
jodermo.github.io/contao-4-documentation/


For this bundle, I used some informations and stuff from this pages:

• Contao Hello World Bundle Tutorial:
gist.github.com/joergmoldenhauer/contao-hello-world-bundle-tutorial.md
• Contao 4 skeleton bundle:
github.com/contao/skeleton-bundle

Thanks, guys!

petzka-demo-bundle's People

Contributors

jodermo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.