Skip to content

⚙️ This bundle provides services for using the All-Inkl API inside symfony applications

License

Notifications You must be signed in to change notification settings

nucleos/NucleosAllInklBundle

Repository files navigation

NucleosAllInklBundle

Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

Continuous Integration Code Coverage Type Coverage

This bundle provides a wrapper for using all-inkl API inside symfony applications.

Installation

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

composer require nucleos/allinkl-bundle

Sonata block integration (optional)

If you want to use sonata blocks to use widgets:

composer require sonata-project/block-bundle

Enable the Bundle

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

// config/bundles.php

return [
    // ...
    Nucleos\AllInklBundle\NucleosAllInklBundle::class => ['all' => true],
];

Usage

{# template.twig #}

{{ sonata_block_render({ 'type': 'nucleos_allinkl.block.space_statistic' }, {
    'login':    'XXX',
    'password': 'XXX'
}) }}

Notes

You can't use this bundle properly, if you have 2FA enabled.

License

This bundle is under the MIT license.