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 Common Bundle Laravel Package

check24/apitk-common-bundle

View on GitHub
Deep Wiki
Context7

apitk-common-bundle

Contains classes, interfaces and traits that are shared between apitk-* bundles, mainly:

Installation

Install the package via composer:

composer require check24/apitk-common-bundle

You usually don't have to install it by yourself, because it is only for other apitk-bundles.

Components

Annotation/ParamConverter

Useful traits for your ParamConverter Annotation:

  • EntityAwareAnnotationTrait
    Adds entity, entityManager and methodName options
  • RequestParamAwareAnnotationTrait
    Adds requestParam option

Describer/AbstractDescriber

Common logic for changing Swagger/OpenAPI annotations via PHP.

ParamConverter

Useful traits for your ParamConverter logic:

ContextAwareParamConverterTrait.php EntityAwareParamConverterTrait.php

  • ContextAwareParamConverterTrait
    Provides $this->getOption('name', 'default') convenience methods to access annotation options easily.
  • EntityAwareParamConverterTrait
    Adds getEntity(), getEntityManager() and callRepositoryMethod() convenience to access an entity, its appropriate entity manager and repository for the given Annotation options.
  • RequestParamAwareParamConverterTrait
    Adds getRequestParam() and getRequestParamValue() methods to access a request param given by Annotation options easily. It's also possible to define defaults here.
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.
phpshko/laravel-livewire-depdrop
larasell-dev/larasell
calliostro/spotify-bundle
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer