PHPackages                             dappcore/php-commerce - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. dappcore/php-commerce

ActiveLibrary[Payment Processing](/categories/payments)

dappcore/php-commerce
=====================

Commerce, subscriptions and payments for Laravel

v0.1.0(yesterday)020↑2750%[3 PRs](https://github.com/dAppCore/php-commerce/pulls)EUPL-1.2PHPPHP ^8.2CI failing

Since Feb 20Pushed todayCompare

[ Source](https://github.com/dAppCore/php-commerce)[ Packagist](https://packagist.org/packages/dappcore/php-commerce)[ Fund](https://donate.trees.org/-/NPMMSVUP?member=SWZTDDWH)[ RSS](/packages/dappcore-php-commerce/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (4)Versions (8)Used By (0)

Core PHP Framework Project
==========================

[](#core-php-framework-project)

[![CI](https://github.com/host-uk/core-template/actions/workflows/ci.yml/badge.svg)](https://github.com/host-uk/core-template/actions/workflows/ci.yml)[![codecov](https://camo.githubusercontent.com/c865b4b984459eff5efa93fa9cef6ff4f602593fb74833a2c79fbe175887bd3d/68747470733a2f2f636f6465636f762e696f2f67682f686f73742d756b2f636f72652d74656d706c6174652f67726170682f62616467652e737667)](https://codecov.io/gh/host-uk/core-template)[![PHP Version](https://camo.githubusercontent.com/7302ac3007e6d69be1b9cd3c877defd4d7cef04faeda28bcda9a1a8d86c8cba9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f686f73742d756b2f636f72652d74656d706c617465)](https://packagist.org/packages/host-uk/core-template)[![Laravel](https://camo.githubusercontent.com/3d9c6b5ae9bf4a266a0111ab622c86271130f96e4fd3062a0a44d8ad66cae46c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d4646324432303f6c6f676f3d6c61726176656c)](https://laravel.com)[![License](https://camo.githubusercontent.com/3b7871a41ea959dc3dcb73b77db0dd13b838353d6ffc04e3b2ecd170f15e4212/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4555504c2d2d312e322d626c75652e737667)](LICENSE)

A modular monolith Laravel application built with Core PHP Framework.

Features
--------

[](#features)

- **Core Framework** - Event-driven module system with lazy loading
- **Admin Panel** - Livewire-powered admin interface with Flux UI
- **REST API** - Scoped API keys, rate limiting, webhooks, OpenAPI docs
- **MCP Tools** - Model Context Protocol for AI agent integration

Requirements
------------

[](#requirements)

- PHP 8.2+
- Composer 2.x
- SQLite (default) or MySQL/PostgreSQL
- Node.js 18+ (for frontend assets)

Installation
------------

[](#installation)

```
# Clone or create from template
git clone https://github.com/host-uk/core-template.git my-project
cd my-project

# Install dependencies
composer install
npm install

# Configure environment
cp .env.example .env
php artisan key:generate

# Set up database
touch database/database.sqlite
php artisan migrate

# Start development server
php artisan serve
```

Visit:

Project Structure
-----------------

[](#project-structure)

```
app/
├── Console/      # Artisan commands
├── Http/         # Controllers & Middleware
├── Models/       # Eloquent models
├── Mod/          # Your custom modules
└── Providers/    # Service providers

config/
└── core.php      # Core framework configuration

routes/
├── web.php       # Public web routes
├── api.php       # REST API routes
└── console.php   # Artisan commands

```

Creating Modules
----------------

[](#creating-modules)

```
# Create a new module with all features
php artisan make:mod Blog --all

# Create module with specific features
php artisan make:mod Shop --web --api --admin
```

Modules follow the event-driven pattern:

```
