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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
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

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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kachnitel/entity-components-bundle contains the following files

Loading the files please wait ...