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

Enumhancer Laravel Package

henzeb/enumhancer

View on GitHub
Deep Wiki
Context7

IDE-helper

Enumhancer is using a lot of magic. For the most basic functionality, enumhancer now comes with an IDE-helper. This is a separate package.

Installation

First, you need to install the IDE-helper package.

composer require --dev henzeb/enumhancer-ide-helper

Configure with dump-autoload

The IDE-helper out of the box supports the usage inside composer's post-autoload-dump event.

 "post-autoload-dump": [
"Henzeb\\Enumhancer\\Composer\\IdeHelper::generate"
]

Note: You can leave this line in your composer file. The IdeHelper class is part of the main library and executes enumhancer-ide-helper only if installed.

Configure as composer command

If you don't want to call dump-autoload everytime you need to generate the helper, it's possible to add it as a composer command.

"scripts": {
"enumhancer": "Henzeb\\Enumhancer\\Composer\\IdeHelper::generate"
}

Ignore IDE-helper generated files

The filename that is being generated by default is _enumhancer.php and is created inside the root of your project. Simply add the filename to your .ignore file.

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.
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon
itsemon245/lamet
baks-dev/dashboard
amoifr/pickle-panther-bundle
make-dev/orca
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle