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
Easy Common Bundle

Easy Common Bundle Laravel Package

agence-adeliom/easy-common-bundle

Symfony bundle providing common utilities for EasyAdmin: reusable Doctrine entity traits (ID, slug, timestamps, soft delete, publish/status) and a PHP 8 enum polyfill/helper with static constructors, validation, and typed enum parameters.

View on GitHub
Deep Wiki
Context7

Easy Common Bundle provides shared utilities for EasyAdmin projects in Symfony, including a lightweight Enum polyfill for PHP 8 (<8.1) and ready-to-use Doctrine entity traits. It helps standardize common entity concerns and enables type-safe enum-like values without relying on native PHP enums.

Key features:

  • Enum helper with static accessors (Action::VIEW()), from(), getKey()/getValue(), and validation
  • Entity traits for common fields: ID, Name, Slug, Status, Publishable, Timestampable, Soft Delete
  • Type-hintable enums for safer APIs (function setAction(Action $action))
  • Compatible branches for Symfony 4.4 → 7.x and PHP 7.2.5 → 8.2+
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.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware