nucleos/allinkl-bundle

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

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

1.2.0 2021-02-07 16:24 UTC

This package is auto-updated.

Last update: 2021-10-15 03:20:06 UTC


README

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.