JWT Framework
Search…
Symfony Bundle
This framework provides a Symfony bundle that will help you to use the components within your Symfony application. The bundle is available
  • when you just install the bundle (composer require web-token/jwt-bundle)
  • when you install the whole framework (composer require web-token/jwt-framework)
If you just install the bundle on an application with Symfony Flex support, then there is nothing to do. Otherwise, you have to register the bundle:
1
/**
2
* {@inheritdoc}
3
*/
4
public function registerBundles()
5
{
6
$bundles = [
7
...
8
new Jose\Bundle\JoseFramework\JoseFrameworkBundle(),
9
];
10
11
return $bundles;
12
}
Copied!
The bundle capabilities will depend on the components installed in your application. The core component is always available.
Last modified 3yr ago
Copy link