Evidence status: extracted from tracked source at the commits below. This reference indexes declared metadata, source callables and persistence files. It does not establish a stable public API, implemented acceptance criteria, successful tests, registry availability or runtime safety.
Posts module for Liberu CMS: blog posts with taxonomy (categories & tags), workflow, versioning, and featured media.
| Application | Actual directory | Commit | Reference variant | Test files |
|---|---|---|---|---|
| cms | cms-posts | 5d91aa9c0a3d |
Variant 1 | 0 |
Physical source locations: 1. Reference variants: 1. Compatibility symlinks are excluded as separate implementations. Reference variants also include tests, scripts and OpenAPI files, so they can be more granular than the runtime-only shared comparison.
Use the manifest identity above for resolution. A module-... repository or design identifier may differ. See the Composer lifecycle guide, npm lifecycle guide and shared ownership guide.
Representative: project-cms-laravel-filament, cms-posts. Matching reference files in this variant are indexed once; the location table preserves every consuming application.
| Property | Observed value |
|---|---|
| Composer name | liberusoftware/module-cms-posts |
| Composer version field | 0.1.0 |
| Package type | liberu-module |
| Module manifest name | module-cms-posts |
| Module version field | 0.1.0 |
| Category / layers | ["core", "api", "filament"] |
| Manifest provider(s) | ["Liberu\\Cms\\Posts\\PostsServiceProvider"] |
| Composer Laravel provider registration | ["Liberu\\Cms\\Posts\\PostsServiceProvider"] |
| default_enabled field | "not declared" |
The manifest default is not proof of deployment enablement. Providers, manifest schemas and registration mechanisms differ across packages; inspect the actual host resolver before adoption. Both Composer auto-discovery and module-manager registration may need review when both are declared.
Source metadata: composer.json · module.json.
| Dependency | Constraint |
|---|---|
filament/filament |
^5.0 |
illuminate/contracts |
^13.0 |
illuminate/database |
^13.0 |
illuminate/support |
^13.0 |
liberusoftware/module-cms-content |
^0.1 |
liberusoftware/module-cms-contracts |
^0.1 |
liberusoftware/module-cms-core |
^0.1 |
php |
^8.5 |
PSR-4 mappings: {"Liberu\\Cms\\Posts\\": "src/", "Liberu\\Cms\\Posts\\Database\\Factories\\": "database/factories/"}.
The following paths identify contracts, actions, queries, policies, services and presentation code for review. Listed public methods are signature excerpts, not API schema or authorization guarantees. Resolve argument types/imports in the linked file and check the provider/call sites before invoking a class.
| Source file | Public method signatures observed |
|---|---|
| src/Contracts/PostRepositoryInterface.php | public function find(int $id): ?Postpublic function findBySlug(string $slug): ?Postpublic function published(): arraypublic function featured(): arraypublic function byCategory(string $categorySlug): arraypublic function byTag(string $tagSlug): arraypublic function search(string $query, int $limit): array |
| src/Filament/Pages/ListPosts.php | No named public method detected by the static index. |
| src/Filament/PostResource.php | public static function form(Schema $schema): Schemapublic static function table(Table $table): Tablepublic static function getPages(): array |
| src/Http/Controllers/PostApiController.php | public function __construct(private PostRepositoryInterface $posts)public function index(Request $request): AnonymousResourceCollectionpublic function show(string $slug): PostResource |
| src/Http/Controllers/PostWriteController.php | public function __construct(private PostRepositoryInterface $posts)public function store(StorePostRequest $request): JsonResponsepublic function update(UpdatePostRequest $request, int $id): PostResourcepublic function destroy(int $id): Response |
Other non-legacy PHP sources: src/Http/Requests/StorePostRequest.php · src/Http/Requests/UpdatePostRequest.php · src/Http/Resources/PostResource.php · src/Models/Category.php · src/Models/Post.php · src/Models/Tag.php · src/PostsModule.php · src/PostsServiceProvider.php · src/Preview/PostPreviewSource.php · src/Repositories/PostRepository.php · src/Search/PostSearchSource.php.
Migrations/settings files are source history, not proof they were applied. Check existing tables, migration records, locks, backfills and recovery before adoption.
Declared Composer scripts: {}.
No tracked files under tests/ were observed in this source location. Do not describe this as a verified independent suite.
Before adoption, verify module enablement, clean consumer resolution, actor/tenant authorization, invalid input, duplicates/concurrency, migration compatibility and failure recovery for the actual call path. Use the owning application/package scripts and supported PHP/framework versions. This documentation extraction did not install, boot, test or release the package.