PHPackages                             apitoolkit/apitoolkit-symfony - 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. apitoolkit/apitoolkit-symfony

ActiveSymfony-bundle

apitoolkit/apitoolkit-symfony
=============================

A PHP/Symfony SDK Wrapper for APIToolkit. It monitors incoming traffic, gathers the requests and sends the request to the apitoolkit servers.

1612PHP

Since Jul 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/apitoolkit/apitoolkit-symfony)[ Packagist](https://packagist.org/packages/apitoolkit/apitoolkit-symfony)[ RSS](/packages/apitoolkit-apitoolkit-symfony/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![APItoolkit's Logo](https://github.com/apitoolkit/.github/raw/main/images/logo-white.svg?raw=true#gh-dark-mode-only)](https://github.com/apitoolkit/.github/blob/main/images/logo-white.svg?raw=true#gh-dark-mode-only)[![APItoolkit's Logo](https://github.com/apitoolkit/.github/raw/main/images/logo-black.svg?raw=true#gh-light-mode-only)](https://github.com/apitoolkit/.github/blob/main/images/logo-black.svg?raw=true#gh-light-mode-only)

Symfony SDK
-----------

[](#symfony-sdk)

[![APItoolkit SDK](https://camo.githubusercontent.com/3a7c5e5bbf4c0762c1c9c6a21b1b6f222e81b59e5064d4a9c42a996a75302231/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f415049746f6f6c6b69742d53444b2d3030363866663f6c6f676f3d73796d666f6e79)](https://github.com/topics/apitoolkit-sdk) [![Join Discord Server](https://camo.githubusercontent.com/dd0cde65a806f8c74389de9910e309342b68f6f34323cb36639d49d891bd65be/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436861742d446973636f72642d373238396461)](https://discord.gg/dEB6EjQnKB) [![APItoolkit Docs](https://camo.githubusercontent.com/e564bf9ed10a447656c22b3abc4e1c41e684552580bc05043612215d99fe1a57/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f526561642d446f63732d303036386666)](https://apitoolkit.io/docs/sdks/php/symfony?utm_source=github-sdks)

APItoolkit is an end-to-end API and web services management toolkit for engineers and customer support teams. To integrate your Symfony (PHP) application with APItoolkit, you need to use this SDK to monitor incoming traffic, aggregate the requests, and then deliver them to the APItoolkit's servers.

---

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Configuration](#configuration)
- [Contributing and Help](#contributing-and-help)
- [License](#license)

---

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

[](#installation)

Kindly run the command below to install the SDK:

```
composer require apitoolkit/apitoolkit-symfony
```

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

[](#configuration)

First, add the `APITOOLKIT_KEY` environment variable to your `.env` file, like so:

```
APITOOLKIT_KEY={ENTER_YOUR_API_KEY_HERE}
```

Then, add the `APIToolkit\EventSubscriber\APIToolkitService` listener and API Key to your `config/service.yaml` file, like so:

```
# This file is the entry point to configure your own services.
# Files in the packages/ subdirectory configure your dependencies.

# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:
    locale: 'en'
services:
    # default configuration for services in *this* file
    _defaults:
        autowire: true      # Automatically injects dependencies in your services.
        autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.

    APIToolkit\EventSubscriber\APIToolkitService:
      arguments:
        $apiKey: '%env(APITOOLKIT_KEY)%'

    # makes classes in src/ available to be used as services
    # this creates a service per class whose id is the fully-qualified class name
    App\:
        resource: '../src/'
        exclude:
            - '../src/DependencyInjection/'
            - '../src/Entity/'
            - '../src/Kernel.php'

    # add more service definitions when explicit configuration is needed
    # please note that last definitions always *replace* previous ones
```

Note

The `{ENTER_YOUR_API_KEY_HERE}` demo string should be replaced with the [API key](https://apitoolkit.io/docs/dashboard/settings-pages/api-keys?utm_source=github-sdks) generated from the APItoolkit dashboard.

Important

To learn more configuration options (redacting fields, error reporting, outgoing requests, etc.), please read this [SDK documentation](https://apitoolkit.io/docs/sdks/php/symfony?utm_source=github-sdks).

Contributing and Help
---------------------

[](#contributing-and-help)

To contribute to the development of this SDK or request help from the community and our team, kindly do any of the following:

- Read our [Contributors Guide](https://github.com/apitoolkit/.github/blob/main/CONTRIBUTING.md).
- Join our community [Discord Server](https://discord.gg/dEB6EjQnKB).
- Create a [new issue](https://github.com/apitoolkit/apitoolkit-symfony/issues/new/choose) in this repository.

License
-------

[](#license)

This repository is published under the [MIT](LICENSE) license.

---

[![](https://github.com/apitoolkit/.github/raw/main/images/icon.png?raw=true)](https://apitoolkit.io?utm_source=github-sdks)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 Bus Factor1

Top contributor holds 60.9% 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://www.gravatar.com/avatar/f0795799b745c3fccb8ae09c5a4b2a65566f7b38fb0e41be002836fca0e37332?d=identicon)[apitoolkitio](/maintainers/apitoolkitio)

---

Top Contributors

[![tonyalaribe](https://avatars.githubusercontent.com/u/6564482?v=4)](https://github.com/tonyalaribe "tonyalaribe (14 commits)")[![Metabor](https://avatars.githubusercontent.com/u/2135064?v=4)](https://github.com/Metabor "Metabor (5 commits)")[![BolajiAyodeji](https://avatars.githubusercontent.com/u/30334776?v=4)](https://github.com/BolajiAyodeji "BolajiAyodeji (2 commits)")[![tischlinger7s](https://avatars.githubusercontent.com/u/101347363?v=4)](https://github.com/tischlinger7s "tischlinger7s (2 commits)")

---

Tags

apitoolkitapitoolkit-sdkphpsymfony

### Embed Badge

![Health badge](/badges/apitoolkit-apitoolkit-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/apitoolkit-apitoolkit-symfony/health.svg)](https://phpackages.com/packages/apitoolkit-apitoolkit-symfony)
```

PHPackages © 2026

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