Weave 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
Classname Mapper

Classname Mapper Laravel Package

mouf/classname-mapper

mouf/classname-mapper is a lightweight PHP utility for mapping class names to custom identifiers, making it easier to resolve aliases and decouple configuration from concrete class strings. Useful for DI containers, plugin registries, and flexible component lookup.

View on GitHub
Deep Wiki
Context7

mouf/classname-mapper provides a lightweight class name mapping layer for PHP, letting you associate fully-qualified class names with aliases, file paths, or substitute classes. It is particularly handy for autoloading, decoupling code from concrete implementations, and wiring class references through Mouf's dependency injection container.

  • Map class names to short aliases or alternate class names
  • Resolve class names to file paths for custom autoloading
  • Chain multiple mappers via a composite mapper
  • Seamlessly integrates with the Mouf framework and its DI container
  • Simple, PSR-friendly interfaces for custom mapper implementations
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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib