Skip to content
Core bundle for Symfony 2 and more
Branch: master
Clone or download
Latest commit f3c5a2b Jun 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Color Update SERVICE_NAME constants May 11, 2019
Command
Component
Controller Remove Base translator interface Jun 21, 2019
DependencyInjection
Entity Remove Base translator interface Jun 21, 2019
Event
EventDispatcher
EventListener
Exception
Form
Helper Update Command helper: Jun 19, 2019
Icon Remove deprecated icon classes May 11, 2019
Manager Update contains() May 11, 2019
Model
Navigation Update PHPDoc Feb 25, 2019
Notification Update PHPDoc Apr 15, 2019
Provider
Quote
Renderer Add renderAge() method to calculate an age with a birth date Feb 14, 2019
Resources
Service Remove Base translator interface Jun 21, 2019
Tests Add ASSETS_RELATIVE_DIRECTORY constant Jun 24, 2019
Theme
Twig/Extension Rename getQuoteProvider() into getProvider() May 11, 2019
.coveralls.yml
.gitattributes
.gitignore Update gitignore May 17, 2019
.scrutinizer.yml Add Scrutinizer-CI Oct 28, 2018
.travis.yml Update Travis-CI configuration (Symfony 4.3) May 31, 2019
CHANGELOG.md
CoreInterface.php
LICENSE Change license Jun 8, 2019
README.md
WBWCoreBundle.php
composer.json
phpunit.xml.dist

README.md

core-bundle

Build Status Coverage Status Scrutinizer Code Quality Latest Stable Version Latest Unstable Version License composer.lock

Core bundle for Symfony 2 and more.

core-bundle provides some useful classes to build another bundles. We use it into all our bundles and Symfony applications.

Includes:


Compatibility

PHP Symfony


Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this package:

$ composer require webeweb/core-bundle "^2.0"

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

    public function registerBundles() {
        $bundles = [
            // ...
            new WBW\Bundle\CoreBundle\WBWCoreBundle(),
        ];

        // ...

        return $bundles;
    }

Once the bundle is added then do:

$ php bin/console wbw:core:unzip-assets
$ php bin/console assets:install

Testing

To test the package, is better to clone this repository on your computer. Open a command console and execute the following commands to download the latest stable version of this package:

$ git clone https://github.com/webeweb/core-bundle.git
$ cd core-bundle
$ composer install

Once all required libraries are installed then do:

$ vendor/bin/phpunit

License

core-bundle is released under the MIT License. See the bundled LICENSE file for details.

You can’t perform that action at this time.