Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 2.4 KB

README.md

File metadata and controls

66 lines (44 loc) · 2.4 KB

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.