webeweb/core-bundle

Core bundle for Symfony 2 and more

Installs: 29 448

Dependents: 8

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

v3.28.0 2023-12-04 15:28 UTC

README

Github actions workflow status Coveralls Scrutinizer quality Packagist version

Packagist license composer.lock

Core bundle for Symfony 4 and more.

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

Includes:

If you like this package, pay me a beer (or a coffee) paypal.me

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

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

Usage

Read the documentation (redaction in progress).

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.

Donate

If you like this work, please consider donating at paypal.me