Download the PHP package ttpryg/content-engine without Composer
On this page you can find all versions of the php package ttpryg/content-engine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ttpryg/content-engine
More information about ttpryg/content-engine
Files in ttpryg/content-engine
Download ttpryg/content-engine
More information about ttpryg/content-engine
Files in ttpryg/content-engine
Vendor ttpryg
Package content-engine
Short Description A framework-agnostic standalone CMS content engine library for PHP.
License MIT
Package content-engine
Short Description A framework-agnostic standalone CMS content engine library for PHP.
License MIT
Please rate this library. Is it a good library?
Informations about the package content-engine
ContentEngine Library
ttpryg/content-engine is a framework-agnostic standalone PHP library for CMS content management (posts, pages, testimonials, FAQs), taxonomy (categories/tags), polymorphic multi-tenant scoping (tenant_type, tenant_id), automatic slug generation, metadata wrapping, and status lifecycle management.
🌟 Key Features
- Framework Agnostic: Compatible with any PHP 8.1+ project (Vanilla PHP, Slim, Laravel, Symfony, CodeIgniter).
- Polymorphic Multi-Tenant Scoping:
tenant_type&tenant_id: Generic scoping for stores (store), companies (company), blogs (blog), or organizations (findByTenant).author_id: Track author/user ownership fromauth-user(findByAuthorId).nullscoping: Global platform content managed by system admins (e.g. Terms of Service, Main Platform Blog).
- Multi-Content Support: Standardized handling for
post,page,testimonial,faq, or custom content types. - Improved Database Schema:
contentstable withtenant_type,tenant_id,author_id,summary(excerpt),sort_order,view_count,deleted_at(soft deletes), andmeta(JSON).categories&content_categorytables for Taxonomy (Categories & Tags).
- Strongly Typed Meta Wrappers:
TestimonialMeta: Company, Position, Rating, Avatar URL.SeoMeta: Meta Title, Meta Description, OG Image, Keywords.
- Automatic Slug Generator: Converts titles to clean URLs with collision resolution (e.g.
my-post-1,my-post-2). - Domain Events:
ContentCreatedEvent,ContentPublishedEvent,ContentArchivedEvent,ContentDeletedEvent.
🗄️ Database Schema
Run the SQL script from database/schema.sql or use DatabaseMigrator:
🚀 Quick Usage Example
📄 License
MIT License.
All versions of content-engine with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package ttpryg/content-engine contains the following files
Loading the files please wait ...