Skip to content

iyoramu/banana-php

Repository files navigation

🍌 BANANA-PHP

Balanced Adaptable Next-Generation Advanced Nimble Architecture for PHP

SourceForge Downloads
License
PHP Version

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

  1. Create a Route:

    // routes/web.php
    Route::get('/hello', fn() => "Welcome to BANANA-PHP!");
  2. Run the Server:

    php banana serve

    Visit http://localhost:8000/hello to see it in action!


🛡️ Security

BANANA-PHP includes:

  • ✅ CSRF protection
  • ✅ SQL injection prevention
  • ✅ Rate limiting
  • ✅ Secure session management

👨‍💻 Author

IRUTABYOSE Yoramu


📜 License

MIT © 2025 — Free to use, modify, and share!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published