Download the PHP package liberusoftware/module-cms-content-types without Composer
On this page you can find all versions of the php package liberusoftware/module-cms-content-types. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download liberusoftware/module-cms-content-types
More information about liberusoftware/module-cms-content-types
Files in liberusoftware/module-cms-content-types
Package module-cms-content-types
Short Description Custom content types for Liberu CMS: JSON field schemas and validated content entries with workflow and versioning.
License MIT
Homepage https://github.com/liberusoftware/module-cms-content-entities
Informations about the package module-cms-content-types
cms-content-entities
Repository
Source, issues, and release history: https://github.com/liberusoftware/module-cms-content-entities
Composer package: https://packagist.org/packages/liberusoftware/module-cms-content-entities
Custom content types for Liberu CMS — define your own content shapes (portfolio items, products, case studies, docs) with a JSON field schema, then create validated, workflow-enabled entries against them.
Built on the cms-content foundation (workflow + versioning).
Models
ContentType—key, labels, and afieldsJSON schema.fieldDefinitions()returns the schema asFieldDefinitionvalue objects.ContentEntry— belongs to a type;data(JSON) holds the field values.HasWorkflow+HasRevisions, auto-slug from title. Reports its type'skeyas the content type in workflow events.
Field schema
FieldType: text, textarea, richtext, number, boolean, date,
select, media. Each FieldDefinition has a name, label, type, required
flag, and (for select) options.
Validation
SchemaValidator::validate($type, $data) enforces the schema — required fields
present, values roughly matching their type — and drops keys not in the schema,
throwing InvalidContentData on violation.
Repository
ContentEntryRepositoryInterface: find, findBySlug, ofType(key), published.
Events
- Emits: via the content foundation —
ContentStateChanged,ContentPublished(carrying the custom type's key). - Listens: none.
All versions of module-cms-content-types with dependencies
liberusoftware/module-cms-content Version ^0.1
liberusoftware/module-cms-contracts Version ^0.1
illuminate/support Version ^13.38.0
illuminate/contracts Version ^13.38.0
liberusoftware/module-cms-core Version ^0.1
php Version ^8.5