survos / the-guardian-bundle
Symfony bundle for interacting with The Guardian API
Fund package maintenance!
kbond
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^8.3
- nonsoniyi/the-guardian-api-client: ^1.0.4
- symfony/config: ^6.4 || ^7.1
- symfony/dependency-injection: ^6.4 || ^7.1
- symfony/form: ^7.2
- symfony/http-kernel: ^6.4 || ^7.1
- twig/twig: ^3.15
- zenstruck/console-extra: ^1.4
Requires (Dev)
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^11.4
- survos/simple-datatables-bundle: ^1.5
- symfony/browser-kit: ^6.4 || ^7.1
- symfony/framework-bundle: ^6.4 || ^7.1
- symfony/http-client: ^6.4 || ^7.1
- symfony/phpunit-bridge: ^6.4 || ^7.1
- symfony/twig-bundle: ^6.4 || ^7.1
- symfony/var-dumper: ^6.4 || ^7.1
- symfony/yaml: ^6.4 || ^7.1
Suggests
- survos/simple-datatables-bundle: searchable/sortable tables when browsing
README
A Symfony bundle to interact with The Guardian API via the The-Guardian-API library.
Still under development, feedback welcome!
Quickstart
symfony new the-guardian-demo --webapp && cd the-guardian-demo composer require survos/the-guardian-bundle
composer config repositories.survos_guardian_bundle '{"type": "path", "url": "../survos/packages/the-guardian-bundle"}' composer req survos/the-guardian-bundle:"*@dev"
Installation
Go to https://theGuardian.com and get a key.
Create a new Symfony project.
symfony new the-guardian-demo --webapp && cd the-guardian-demo composer require survos/the-guardian-bundle bin/console the-guardian:list
You can browse interactively with the basic admin controller.
composer require survos/simple-datatables-bundle symfony server:start -d symfony open:local --path=/the-guardian/
Or edit .env.local and add your API key.
bin/console the-guardian:list
+------------- museado/ -----+--------+ | ObjectName | Path | Length | +----------------+-----------+--------+ | photos finales | /museado/ | 0 | +----------------+-----------+--------+