bubblegum-php/bubblegum
最新稳定版本:1.1.1
Composer 安装命令:
composer require bubblegum-php/bubblegum
包简介
Bubblegum FULL
README 文档
README
About Framework
Bubblegum is a lightweight, modular PHP framework that offers flexibility for both small-scale projects and complex applications. Its modular design allows you to combine the necessary components and remove unnecessary features, tailoring it to your specific needs.
Features
- Modularity: Combine and customize modules to suit your specific needs.
- Efficiency: Remove unnecessary components to optimize performance.
- Extensibility: Create your own modules and extensions to enhance functionality.
Install
Using composer composer create-project bubblegum-php/bubblegum myproject
Using git git clone https://github.com/bubblegum-php/bubblegum.git
Docker setup
-
There are two important environment files:
/.env/docker/database.env. Create these files by following the example files located in the respective folders. -
Effortlessly build your project using pre-configured Docker files with a simple command:
docker compose up --build -
Connect to http://localhost:8666/
Modules
- CORE 🍬 The core module that connects all other modules and provides a pre-built routing system.
- CONTROLLERS 🍬 Handles requests and generates responses.
- VIEWS 🍬 Manages views and view objects.
- ENVIRONMENT 🍬 Facilitates loading environment variables from files and managing them within your code.
- DB 🍬 Offers database integration with PostgreSQL.
- DB-MODELS 🍬 Provides models for efficient interaction with database entities.
- DB-MIGRATIONS 🍬 Enables database schema management through migrations.
- MIDDLEWARES 🍬 Adds middlewares to wrap your components.
Or you always can create modules by yourself :)
License
The bubblegum framework is fully open-source software licenced under the MIT LICENSE.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-26