iyoramu/banana-php
最新稳定版本:v1.0.0
Composer 安装命令:
composer create-project iyoramu/banana-php
包简介
Adaptable Next-Generation Advanced Nimble Architecture PHP Framework
README 文档
README
Balanced Adaptable Next-Generation Advanced Nimble Architecture for PHP
A flexible, scalable, and secure PHP framework designed for developers of all levels — from beginners to experts.
🚀 Why BANANA-PHP?
BANANA-PHP is built to make web development easier, faster, and more efficient while addressing common challenges like:
- 🛠️ Simplified Setup: Intuitive for newcomers, powerful for experts.
- 🔒 Built-in Security: CSRF protection, encryption, and secure authentication.
- 🗃️ Database Agnostic: Works with MySQL, PostgreSQL, SQLite, and more.
- ⚡ Performance Optimized: Lightweight core with optional modular extensions.
- 🌍 Modern Routing: Clean, RESTful API support out of the box.
Whether you’re building a small blog or a large-scale app, BANANA-PHP scales with your needs.
📦 Installation
composer create-project iyoramu/banana-php your-project-name
Requirements: PHP ≥ 8.1, Composer, and a web server (Apache/Nginx).
🧩 Key Features
| Feature | Description |
|---|---|
| Routing | Elegant URL routing with middleware support. |
| Auth | Ready-to-use login, registration, and password reset. |
| ORM | Database abstraction with fluent query builder. |
| Templating | Blade-like syntax for dynamic views. |
| CLI Tools | Generate controllers, models, and migrations via command line. |
- Modern PHP 8.1+ architecture
- MVC pattern implementation
- Powerful routing system
- Database abstraction layer
- Authentication (JWT & Session)
- Middleware pipeline
- Console commands
- Built-in testing support
- Docker ready
Requirements
- PHP 8.1 or higher
- Composer
- MySQL 5.7+ / PostgreSQL / SQLite
- Redis (optional)`
📚 Quick Start
-
Create a Route:
// routes/web.php Route::get('/hello', fn() => "Welcome to BANANA-PHP!");
-
Run the Server:
php banana serve
Visit
http://localhost:8000/helloto see it in action!
🛡️ Security
BANANA-PHP includes:
- ✅ CSRF protection
- ✅ SQL injection prevention
- ✅ Rate limiting
- ✅ Secure session management
👨💻 Author
IRUTABYOSE Yoramu
- 📧 yirutabyose@gmail.com
- 📞 +250 781 014 782
- 💻 SourceForge Project
📜 License
MIT © 2025 — Free to use, modify, and share!
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-23