# 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:

```php
/**
 * {@inheritdoc}
 */
public function registerBundles()
{
    $bundles = [
        ...
        new Jose\Bundle\JoseFramework\JoseFrameworkBundle(),
    ];

    return $bundles;
}
```

The bundle capabilities will depend on the components installed in your application. The core component is always available.

* [Algorithm Management](/2.x/the-symfony-bundle/algorithm-management.md)
* [Header and Claim Checkers](/2.x/the-symfony-bundle/header-and-claim-checker-management.md)
* [Keys and key sets](/2.x/the-symfony-bundle/key-and-key-set-management.md)
* [Signed tokens](/2.x/the-symfony-bundle/signed-tokens.md)
* [Encrypted tokens](/2.x/the-symfony-bundle/encrypted-tokens.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://web-token.spomky-labs.com/2.x/the-symfony-bundle/symfony-bundle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
