2017 © Pedro Peláez
 

library news-bundle

Clastic News bundle

image

clastic/news-bundle

Clastic News bundle

  • Tuesday, March 24, 2015
  • by NoUseFreak
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

NewsBundle

News Module for Clastic., (*1)

About

This bundle currently provides a News Module for the Clastic CMF., (*2)

Installation

Installation is a quick:, (*3)

  1. Download NewsBundle using composer
  2. Enable the Bundle
  3. Import NewsBundle routing files
  4. Update your database schema

Step 1: Download NewsBundle using composer

Add NewsBundle by running the command:, (*4)

``` bash $ composer require clastic/news-bundle "dev-master", (*5)

### Step 2: Enable the bundle

Enable the bundle in the kernel:

``` php
<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Clastic\NewsBundle\ClasticNewsBundle(),
    );
}

Step 3: Import NewsBundle routing files

In YAML:, (*6)

``` yaml, (*7)

app/config/routing_admin.yml

clastic_news: resource: "@ClasticNewsBundle/Resources/config/backoffice_routing.xml", (*8)


### 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. ``` bash $ 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., (*9)

Fork the project, create a feature branch, and send us a pull request., (*10)

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., (*11)

If you would like to help, take a look at the list of issues., (*12)

Author and contributors

Dries De Peuter - dries@nousefreak.be - http://nousefreak.be, (*13)

See also the list of contributors who participated in this project., (*14)

License

This project is licensed under the MIT license., (*15)

The Versions

24/03 2015
08/03 2015
25/02 2015
17/02 2015