https://github.com/nucleos/nucleosallinklbundle
⚙️ This bundle provides services for using the All-Inkl API inside symfony applications
https://github.com/nucleos/nucleosallinklbundle
allinkl api bundle hacktoberfest symfony symfony-bundle
Last synced: over 1 year ago
JSON representation
⚙️ This bundle provides services for using the All-Inkl API inside symfony applications
- Host: GitHub
- URL: https://github.com/nucleos/nucleosallinklbundle
- Owner: nucleos
- License: mit
- Created: 2020-06-20T09:36:12.000Z (about 6 years ago)
- Default Branch: 1.8.x
- Last Pushed: 2025-02-09T17:59:05.000Z (over 1 year ago)
- Last Synced: 2025-04-13T05:09:04.558Z (over 1 year ago)
- Topics: allinkl, api, bundle, hacktoberfest, symfony, symfony-bundle
- Language: PHP
- Homepage: https://nucleos.rocks
- Size: 1.05 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
NucleosAllInklBundle
====================
[](https://packagist.org/packages/nucleos/allinkl-bundle)
[](https://packagist.org/packages/nucleos/allinkl-bundle)
[](https://packagist.org/packages/nucleos/allinkl-bundle)
[](https://packagist.org/packages/nucleos/allinkl-bundle)
[](https://packagist.org/packages/nucleos/allinkl-bundle)
[](https://packagist.org/packages/nucleos/allinkl-bundle)
[](https://github.com/nucleos/NucleosAllInklBundle/actions?query=workflow%3A"Continuous+Integration"+event%3Apush)
[](https://codecov.io/gh/nucleos/NucleosAllInklBundle)
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:
```php
// config/bundles.php
return [
// ...
Nucleos\AllInklBundle\NucleosAllInklBundle::class => ['all' => true],
];
```
## Usage
```twig
{# 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](LICENSE.md).
[all-inkl API]: http://kasapi.kasserver.com/