Coder Social home page Coder Social logo

skeleton-bundle's Introduction

Contao 4 skeleton bundle

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.

You can use the skeleton bundle as basis for your own Contao bundle.

Install

Download the skeleton bundle:

wget https://github.com/contao/skeleton-bundle/archive/main.zip
unzip main.zip
mv skeleton-bundle-master [package name]
cd [package name]

Customize

First adjust the following files:

  • ecs.yaml
  • composer.json
  • phpunit.xml.dist
  • README.md

Then rename the following files and/or the references to SkeletonBundle in the following files:

  • src/ContaoManager/Plugin.php
  • src/DependencyInjection/ContaoSkeletonExtension.php
  • src/ContaoSkeletonBundle.php
  • tests/ContaoSkeletonBundleTest.php

Finally add your custom classes and resources. Make sure to register your services within src/Resources/config/services.yml. Also make sure to adjust the Contao Manager Plugin (and the dependencies within the composer.json) accordingly, if your bundle makes adjustments to other bundles (e.g. adjustments to a DCA of other bundles).

Release

Run the PHP-CS-Fixer and the unit test before you release your bundle:

vendor/bin/ecs check src/ tests/ --fix
vendor/bin/phpunit

skeleton-bundle's People

Contributors

aschempp avatar bugbuster1701 avatar fritzmg avatar leofeyer avatar paddy0174 avatar stefansl 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.