Dynamic content types: define entities such as Product, Team Member or FAQ with a JSONB field schema and manage their records in the admin, without a migration per entity. Definitions and records are stored in two tables. It adds public forms, multi-language records, collaborative editing locks and sitemap integration.
Use it when
- You need editors to manage structured content types that change often
- You want a public form (contact, application) backed by a stored content type
What it gives you
- 16 field types including text, rich_text, number, select, file, image and video
- Admin UI for definitions and records under /admin/entities
- Multi-language records when 2+ languages are active
- Collaborative editing with FIFO locking and presence
- Public form builder with honeypot, timing checks and rate limiting
- Filesystem mirroring for export/import; sitemap integration
Entities news
-
Entities 0.7.0: A separate settings permission and support for PhoenixKit 3
Entities 0.7.0 puts import, export and mirroring behind their own permission, works with PhoenixKit 3, and lets repair and doctor check its tables again.
-
Entities 0.6.1: Import errors that no longer crash, and two tabs that stay in step
Entities 0.6.1 stops an import error from crashing when a label contains %{word}, and keeps two tabs editing one entity in step. It also compiles faster.
-
Entities 0.6.0: A read-only page for each record, and safer public forms
Entities 0.6.0 adds a read-only page for every record, tightens public forms, and makes trash, restore and export keep what they should.
-
Entities 0.5.0: Relation fields that link records of different entities
Entities 0.5.0 makes the relation field work: link a record to one or several records of another entity, pick them in the admin, carry links in mirror files.
-
Entities 0.4.17: A tree picker for parent records, and no more parent cycles
Entities 0.4.17 picks a record's parent from a tree, stops two moves from creating a loop, and opens edit forms in the language you are viewing.
Install
1
Add to mix.exs
{:phoenix_kit_entities, "~> 0.8"}
2 Fetch it and run its migrations
$ mix deps.get && mix phoenix_kit.update
3
Switch it on in /admin/modules
- Package
- phoenix_kit_entities
- Releases
-
- 0.8.0
- 0.7.0
- 0.6.1
- Admin
-
/admin/entities - Used by
- Catalogue Manufacturing Projects
- Links
- HexDocs ↗ GitHub ↗ Changelog ↗
Related modules
What it needs, what builds on it, and its neighbours in Content & community.
Catalogue
Product catalogues with manufacturers, suppliers, categories, items and pricing
Needs AI, Entities
Manufacturing
A machines reference book with machine types and a dashboard
Needs Comments, Entities, Locations
Projects
Projects built from a reusable task library, with dependencies and schedules
Needs AI, Staff, Comments, Entities
Boards
Collaborative infinite-canvas boards with live cursors, stored in the database
No other modules needed
Comments
Threaded comments for any resource, with reactions and moderation
No other modules needed
Document Creator
Document templates in Google Docs, filled with variables and exported to PDF
No other modules needed