Download the PHP package kachnitel/entity-components-bundle without Composer
On this page you can find all versions of the php package kachnitel/entity-components-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kachnitel/entity-components-bundle
More information about kachnitel/entity-components-bundle
Files in kachnitel/entity-components-bundle
Download kachnitel/entity-components-bundle
More information about kachnitel/entity-components-bundle
Files in kachnitel/entity-components-bundle
Vendor kachnitel
Package entity-components-bundle
Short Description Reusable Symfony Live Components for entity management (tags, attachments, comments, inline-edit fields)
License MIT
Package entity-components-bundle
Short Description Reusable Symfony Live Components for entity management (tags, attachments, comments, inline-edit fields)
License MIT
Please rate this library. Is it a good library?
Informations about the package entity-components-bundle
Kachnitel Entity Components Bundle
Reusable Symfony Live Components for entity management: tags, file attachments, comments, relationship dropdowns, and a full set of inline-edit field components that work with any Doctrine entity.
Quick Start
1. Install
2. Map interfaces to your concrete classes
For each bundle feature you use, add one line to config/packages/doctrine.yaml:
3. Use the traits and drop in components
What's Next?
Inline-edit any field
**Level 1:** Drop in a field component — click ✎ to edit, save, or cancel: **Level 2:** Association fields with live search: **Level 3:** Add Symfony Validator constraints to the entity — validation runs automatically before flushing: **Level 4:** Control who can edit by overriding `EditabilityResolverInterface`: **Details:** [Inline-Edit Guide](docs/INLINE_EDIT.md)Tag management
**Level 1:** Implement `TagInterface` and `TaggableInterface`, drop in the component: **Level 2:** Read-only badge display: **Level 3:** Colored categories — return a hex color from `getCategoryColor()` on your Tag entity. Text color is flipped automatically for contrast. **Details:** [Tags Guide](docs/TAGS.md)File attachments
**Level 1:** Register a `FileHandlerInterface` service, implement `AttachableInterface`, drop in the component: **Level 2:** Read-only display, custom collection property: **Level 3:** Per-attachment tagging: **Details:** [Attachments Guide](docs/ATTACHMENTS.md)Comments
**Level 1:** Implement `CommentInterface` and `CommentableInterface`, drop in the component: **Level 2:** Read-only display, custom collection property: **Level 3:** Limit text length — add a `MAX_TEXT_LENGTH` constant to your Comment entity and the textarea `maxlength` is set automatically. **Details:** [Comments Guide](docs/COMMENTS.md)Relationship / enum dropdown
**Level 1:** Works out of the box for any entity relation or backed enum: **Level 2:** Access control, placeholder, label: **Level 3:** Filter records or use a custom repository method: **Details:** [SelectRelationship Guide](docs/SELECT_RELATIONSHIP.md)Components at a glance
| Component | Tag | Description |
|---|---|---|
TagManager |
K:Entity:TagManager |
Colored tag badges with category grouping |
AttachmentManager |
K:Entity:AttachmentManager |
File upload and attachment list |
CommentsManager |
K:Entity:CommentsManager |
Threaded comments with delete confirmation |
SelectRelationship |
K:Entity:SelectRelationship |
Eager dropdown for small option sets and enums |
StringField |
K:Entity:Field:String |
Inline text edit |
IntField |
K:Entity:Field:Int |
Inline integer edit |
FloatField |
K:Entity:Field:Float |
Inline decimal edit |
BoolField |
K:Entity:Field:Bool |
Inline checkbox toggle |
DateField |
K:Entity:Field:Date |
Inline date / datetime / time edit |
EnumField |
K:Entity:Field:Enum |
Inline dropdown for PHP backed enums |
RelationshipField |
K:Entity:Field:Relationship |
Live-search inline editor for ManyToOne / OneToOne |
CollectionField |
K:Entity:Field:Collection |
Live-search inline editor for ManyToMany / OneToMany |
Documentation
| Guide | Description |
|---|---|
| Inline-Edit Fields | All field types, validation, editability control, display override |
| Tags | TagManager setup, categories, colors |
| Attachments | AttachmentManager setup, FileHandlerInterface, template blocks |
| Comments | CommentsManager setup, author attribution, text limits |
| SelectRelationship | Dropdown for relations and enums, access control, filtering |
Requirements
- PHP 8.2+
- Symfony 6.4, 7.x, or 8.x
- Doctrine ORM
- Symfony UX Live Component
License
MIT
All versions of entity-components-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
doctrine/doctrine-bundle Version ^3.0
doctrine/orm Version ^3.5
kachnitel/color-converter Version ^0.0.1
symfony/doctrine-bridge Version ^6.4|^7.0|^8.0
symfony/form Version ^6.4|^7.0|^8.0
symfony/framework-bundle Version ^6.4|^7.0|^8.0
symfony/property-access Version ^6.4|^7.0|^8.0
symfony/property-info Version ^6.4|^7.0|^8.0
symfony/security-bundle Version ^6.4|^7.0|^8.0
symfony/type-info Version ^7.1|^8.0
symfony/ux-live-component Version ^2.21
symfony/ux-twig-component Version ^2.21
symfony/validator Version ^6.4|^7.0|^8.0
symfony/var-exporter Version ^6.4|^7.0|^8.0
doctrine/doctrine-bundle Version ^3.0
doctrine/orm Version ^3.5
kachnitel/color-converter Version ^0.0.1
symfony/doctrine-bridge Version ^6.4|^7.0|^8.0
symfony/form Version ^6.4|^7.0|^8.0
symfony/framework-bundle Version ^6.4|^7.0|^8.0
symfony/property-access Version ^6.4|^7.0|^8.0
symfony/property-info Version ^6.4|^7.0|^8.0
symfony/security-bundle Version ^6.4|^7.0|^8.0
symfony/type-info Version ^7.1|^8.0
symfony/ux-live-component Version ^2.21
symfony/ux-twig-component Version ^2.21
symfony/validator Version ^6.4|^7.0|^8.0
symfony/var-exporter Version ^6.4|^7.0|^8.0
The package kachnitel/entity-components-bundle contains the following files
Loading the files please wait ...