PHPackages                             cyberspectrum/api-platform-toolkit-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cyberspectrum/api-platform-toolkit-bundle

ActiveSymfony-bundle

cyberspectrum/api-platform-toolkit-bundle
=========================================

Some handy toolkit for using api-platform/core more efficiently

04PHP

Since May 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/cyberspectrum/api-platform-toolkit-bundle)[ Packagist](https://packagist.org/packages/cyberspectrum/api-platform-toolkit-bundle)[ RSS](/packages/cyberspectrum-api-platform-toolkit-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

api-platform toolkit
====================

[](#api-platform-toolkit)

Installation
------------

[](#installation)

```
composer require cyberspectrum/api-platform-toolkit-bundle

```

Configuration
-------------

[](#configuration)

```
api_platform_toolkit:
  # Enable custom expression language providers
  enable_expression_language: true
  # Enable JWT handling - this can be disabled.
  lexik_jwt:
    # Enable documentation handling (adds the login endpoint to swagger docs).
    add_documentation: true
    # The default ttl if not specified in request (defaults to 3600)
    default_ttl: 3600
    # The login url.
    login_url: '/api/login_check'

```

Features:
---------

[](#features)

### Add own providers to expression language.

[](#add-own-providers-to-expression-language)

This bundle supports to add tagged services to the api platform expression language.

To add your own `ExpressionFunctionProviderInterface` implementor use this service registration:

```
App\ExpressionLanguage\SomeExpressionLanguageProvider:
    tags:
        - { name: csap_toolkit.security.expression_language }

```

TODO
----

[](#todo)

- Make PR for expression language support in `api-platform/core`.
- Make JWT TTL support configuration optional.
- Add min and max value support for JWT TTL.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44649522?v=4)[xtra](/maintainers/xtra)[@xtra](https://github.com/xtra)

---

Top Contributors

[![discordier](https://avatars.githubusercontent.com/u/940331?v=4)](https://github.com/discordier "discordier (22 commits)")

### Embed Badge

![Health badge](/badges/cyberspectrum-api-platform-toolkit-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/cyberspectrum-api-platform-toolkit-bundle/health.svg)](https://phpackages.com/packages/cyberspectrum-api-platform-toolkit-bundle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
