Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Apitk Header Bundle Laravel Package

check24/apitk-header-bundle

View on GitHub
Deep Wiki
Context7

apitk-header-bundle

Overview

This bundle provides useful features for a symfony based RESTful API.

Installation

Install the package via composer:

composer require check24/apitk-header-bundle

Usage

Header information

You can easily add information to the response headers by using the HeaderInformation service. These information will automatically be added to the response and prefixed with x-apitk-

public function index(HeaderInformation $headerInformation): array
{
    $users = $this->getUsers();

    $headerInformation->add('users-count', (string) count($users));

    return $users;
}

will result in a response header x-apitk-users-count: 15.

Deprecations (apitk-deprecation-bundle)

You can mark actions as deprecated so developers can notice that they have to update their API call to a newer version or to use a whole other endpoint.

see CHECK24/apitk-deprecation-bundle

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor