Download the PHP package eyo/fw-php without Composer
On this page you can find all versions of the php package eyo/fw-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package fw-php
Short Description EyoPHP - Educational PHP framework with permissions system, dynamic routing and middleware
License MIT
Informations about the package fw-php
๐ EyoPHP Framework
A minimalist PHP framework that gets you from zero to working web app in 5 minutes
๐ซ๐ท Note for French learners: This framework was created by a French developer for educational purposes. While documentation is in English for international reach, you'll find extensive French comments in the code and detailed French tutorials in the
/docsfolder.
โก Quick Start
Get a working web application in 2 commands:
Open http://localhost:8000 โ You have a working app with authentication! ๐
๐ฆ Installation
๐ง Smart Installation (Auto-detects from project name)
โก Minimal Mode - Just add -minimal to your project name:
๐ Complete Mode - Add -complete to your project name:
๐ค Interactive Choice - Use any other name:
๐ง Change Mode Later
๐ Advanced: Environment Variables (Optional)
Alternative Installation Methods
Option 2: Add to Existing Project
Option 3: Git Clone
โ๏ธ Configuration
1. Environment Setup
2. Database Setup
3. Start Development Server
Visit http://localhost:8000 and you're ready! ๐
๐ฏ Why EyoPHP?
Perfect for learning, teaching, and rapid prototyping
โ What you get out of the box:
- ๐ Working homepage immediately after installation
- ๐ Complete authentication (register/login/logout)
- ๐ฃ๏ธ Simple routing with clean URLs
- ๐๏ธ Database integration with PDO
- ๐ MVC structure without over-engineering
- ๐ User permissions system
- โ Input validation with customizable rules
- ๐จ Template system with layouts
- ๐งช PHPUnit tests included
๐ Educational Philosophy:
- Pure PHP - No magic, you understand every line
- Modern standards - PSR-4 autoloading, Composer, .env
- Real-world patterns - MVC, Router, Middleware
- Progressive learning - Start simple, add complexity when needed
๐ Developer Experience:
๐ Project Structure
๐ ๏ธ Key Features
Router with Clean URLs
Database with PDO
Permission-Based Routing
Input Validation
Template System
๐ Usage Examples
Creating a New Controller
Adding Routes
Creating a Model
๐ง Development Tools
Testing
Documentation
Development Server
๐ Learning Path
Beginner
- ๐ Follow the Quick Start guide
- ๐ Explore the code structure
- ๐ Modify the homepage template
- โ Add a new route and controller
Intermediate
- ๐๏ธ Create custom models
- โ Add input validation to forms
- ๐ Implement user permissions
- ๐งช Write unit tests
Advanced
- ๐ง Create custom middleware
- ๐ Add logging and monitoring
- ๐ Deploy to production
- ๐ Migrate to Symfony/Laravel
๐ Perfect For
- ๐ Learning PHP and web development basics
- ๐ซ Teaching MVC patterns in schools
- โก Rapid prototyping of web applications
- ๐ฌ Understanding how frameworks work internally
- ๐ Starting projects that might grow into larger frameworks
๐ซ Not For You If
- You need a battle-tested production framework โ Use Symfony or Laravel
- You want advanced features out-of-the-box โ Use CodeIgniter or CakePHP
- You're building complex enterprise applications โ Use Zend/Laminas
๐ Migration Path
EyoPHP uses standard PHP patterns. When you're ready to scale:
- To Symfony: Controllers and routing concepts are similar
- To Laravel: Model and validation patterns translate well
- To any framework: You'll understand the underlying concepts
๐ค Contributing
This framework is designed for educational purposes. Contributions welcome!
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
๐ License
MIT License - Free for personal and commercial use.
"The best way to learn how something works is to build it yourself"
Ready to start? Run composer create-project eyo/fw-php my-app and begin your journey! ๐