johnnyxlemonade / admin-cms-news
Reusable localized CMS news module for Lemonade Admin.
Requires
- php: >=8.3 <8.6
- johnnyxlemonade/admin-platform: dev-main
- johnnyxlemonade/cms-core: dev-main
- johnnyxlemonade/framework: dev-master
- psr/http-message: ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.94
- phpstan/phpstan: 2.3.0
- phpstan/phpstan-strict-rules: 2.1.0
- phpunit/phpunit: ^10.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-13 11:58:46 UTC
README
johnnyxlemonade/admin-cms-news is an optional CMS module with the
cms.news code. After installation and explicit enablement, it provides News
management at /admin/news.
An article contains localized title, URL address, summary, content, and SEO
metadata. Publication and media belong to the article root aggregate. Galleries
and attachments use shared Admin Platform file collections; this package does
not introduce its own upload transport or storage. Canonical public URLs are
reserved through the shared cms_route contract.
The package does not own public frontend HTML or article rendering. The host application provides public presentation and enforces the module's public publication semantics.
Installation
The package requires PHP >=8.3 <8.6, johnnyxlemonade/framework, and
johnnyxlemonade/admin-platform.
composer require johnnyxlemonade/admin-cms-news:dev-main
Composer package metadata discovers the module. Install and enable it through the host application's standard module lifecycle.
Package boundaries
- CMS News owns the localized News aggregate, Admin module contribution, publication workflow, and News-specific permissions.
- Admin Platform owns shared Admin file collections, upload transport, and
system_filemetadata. - CMS Core owns public CMS route contracts and canonical route reservations.
- The host owns public rendering and public request integration.
Development and QA
From the package root, run:
composer cs:check
composer stan
composer test
composer qa