clastic / news-bundle
Clastic News bundle
Requires
- php: >=5.3.3
- clastic/core-bundle: *
- clastic/taxonomy-bundle: *
- doctrine/doctrine-bundle: *
- symfony/dependency-injection: ~2.6
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-18 16:31:54 UTC
README
News Module for Clastic.
About
This bundle currently provides a News Module for the Clastic CMF.
Installation
Installation is a quick:
- Download NewsBundle using composer
- Enable the Bundle
- Import NewsBundle routing files
- Update your database schema
Step 1: Download NewsBundle using composer
Add NewsBundle by running the command:
$ composer require clastic/news-bundle "dev-master"
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Clastic\NewsBundle\ClasticNewsBundle(), ); }
Step 3: Import NewsBundle routing files
In YAML:
# app/config/routing_admin.yml clastic_news: resource: "@ClasticNewsBundle/Resources/config/backoffice_routing.xml"
Step 4: Update your database schema
Now that the bundle is configured, the last thing you need to do is update your database schema because you need tables to store your News data.
For ORM run the following command.
$ php app/console doctrine:schema:update --force
Contributing
All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
Fork the project, create a feature branch, and send us a pull request.
To ensure a consistent code base, you should make sure the code follows the Coding Standards which we borrowed from Symfony. Make sure to check out php-cs-fixer as this will help you a lot.
If you would like to help, take a look at the list of issues.
Author and contributors
Dries De Peuter - dries@nousefreak.be - http://nousefreak.be
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT license.