nucleos / allinkl-bundle
This bundle provides services for using the All-Inkl API inside symfony applications.
Fund package maintenance!
core23
Opencollective
Ko-Fi
Other
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 3
Type:symfony-bundle
Requires
- php: ^8.1
- ext-json: *
- ext-soap: *
- nucleos/twig-extensions: ^2.0 || ^3.0
- psr/log: ^1.0 || ^2.0 || ^3.0
- sonata-project/block-bundle: ^4.21 || ^5.0
- sonata-project/doctrine-extensions: ^1.1 || ^2.0
- sonata-project/form-extensions: ^1.19 || ^2.0
- symfony/config: ^6.4 || ^7.0
- symfony/console: ^6.4 || ^7.0
- symfony/dependency-injection: ^6.4 || ^7.0
- symfony/expression-language: ^6.4 || ^7.0
- symfony/form: ^6.4 || ^7.0
- symfony/framework-bundle: ^6.4 || ^7.0
- symfony/http-foundation: ^6.4 || ^7.0
- symfony/http-kernel: ^6.4 || ^7.0
- symfony/mailer: ^6.4 || ^7.0
- symfony/mime: ^6.4 || ^7.0
- symfony/options-resolver: ^6.4 || ^7.0
- symfony/translation-contracts: ^1.1 || ^2.0 || ^3.0
- symfony/twig-bridge: ^6.4 || ^7.0
- twig/intl-extra: ^2.4 || ^3.0
- twig/twig: ^2.4 || ^3.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.0.1
- symfony/browser-kit: ^6.4 || ^7.0
- symfony/translation: ^6.4 || ^7.0
- symfony/yaml: ^6.4 || ^7.0
This package is auto-updated.
Last update: 2024-11-12 02:42:56 UTC
README
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.