Download the PHP package dappcore/php without Composer
On this page you can find all versions of the php package dappcore/php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package php
Core PHP Framework
A modular monolith framework for Laravel with event-driven architecture, lazy module loading, and built-in multi-tenancy.
Documentation
📚 Read the full documentation →
Features
- Event-driven module system - Modules declare interest in lifecycle events and are only loaded when needed
- Lazy loading - Web requests don't load admin modules, API requests don't load web modules
- Multi-tenant isolation - Workspace-scoped data with automatic query filtering
- Actions pattern - Single-purpose business logic classes with dependency injection
- Activity logging - Built-in audit trails for model changes
- Seeder auto-discovery - Automatic ordering via priority and dependency attributes
- HLCRF Layout System - Hierarchical composable layouts (Header, Left, Content, Right, Footer)
Installation
The service provider will be auto-discovered.
Quick Start
Creating a Module
This creates a module at app/Mod/Commerce/ with a Boot.php entry point:
Lifecycle Events
| Event | Purpose |
|---|---|
WebRoutesRegistering |
Public-facing web routes |
AdminPanelBooting |
Admin panel routes and navigation |
ApiRoutesRegistering |
REST API endpoints |
ClientRoutesRegistering |
Authenticated client routes |
ConsoleBooting |
Artisan commands |
McpToolsRegistering |
MCP tool handlers |
FrameworkBooted |
Late-stage initialisation |
Core Patterns
Actions
Extract business logic into testable, reusable classes:
Multi-Tenant Isolation
Automatic workspace scoping for models:
Activity Logging
Track model changes with minimal setup:
HLCRF Layout System
Data-driven layouts with infinite nesting:
Variant strings define structure: HCF (Header-Content-Footer), HLCRF (all five regions), H[LC]CF (nested layouts).
See HLCRF.md for full documentation.
Configuration
Publish the config file:
Configure module paths in config/core.php:
Artisan Commands
Module Structure
Documentation
- Patterns Guide - Detailed documentation for all framework patterns
- HLCRF Layout System - Composable layout documentation
Testing
Requirements
- PHP 8.2+
- Laravel 11+
License
EUPL-1.2 - See LICENSE for details.
All versions of php with dependencies
laravel/framework Version ^11.0|^12.0|^13.0
laravel/pennant Version ^1.0
livewire/livewire Version ^3.0|^4.0