Webby is a "lego-like" PHP framework designed for beginners. Build APIs, Console Apps, and Web Applications with an easy developer experience.
// routes/web.php - Simple & Intuitive
Route::get('/list/users', 'UserController::index');
Route::get('/show/users/{id}', 'UserController::show/$1');
Route::put('/update/users/{id}', 'UserController::update/$1');
Route::delete('/delete/users/{id}', 'UserController::delete/$1');
// Prefix routes with specific names
Route::prefix('admin', function() {
Route::get('/dashboard', 'AdminController::dashboard');
});
// Route to views with Route::page()
Route::page('contact-us', function() {
Route::useView('contact');
});// Modular HMVC Architecture
App/
└── Web/
└── Blog/
├── Config/
│ └── Routes.php
├── Controllers/
│ └── PostController.php
├── Models/
│ └── PostModel.php
├── Services/
│ └── PostService.php
└── Views/
└── post_list.php
// Each module is self-contained and reusable// Separate business logic with Services
class UserService extends Service {
public function createUser($data) {
// Validate input
$this->validateUserData($data);
// Business logic
$data['password'] = password_hash($data['password'], PASSWORD_BCRYPT);
// Database operation
return $this->userModel->insert($data);
}
}// Build REST APIs easily
class UserController extends ApiController {
public function index_get() {
$users = $this->userModel->all();
$this->response($users, HttpStatus::OK);
}
public function create_post() {
$data = $this->post();
$user = $this->userService->createUser($data);
$this->response($user, HttpStatus::CREATED);
}
}Production-ready features built into Webby
Define routes with an intuitive syntax. Support for RESTful APIs, dynamic parameters, and middleware.
Build modular applications with Hierarchical Model-View-Controller architecture for better organization.
Build any type of application: RESTful APIs, command-line tools, or full web applications.
Use Plates, a blade-like templating engine for clean and maintainable views.
Separate business logic from controllers using Services and Actions patterns.
Use any database abstraction or library. Compatible with Eloquent, Doctrine, or native CI3 Query Builder.
Built-in form validation with customizable rules to ensure data integrity.
Integrate with other PHP frameworks and packages seamlessly. Use Composer packages effortlessly.
Simplified CI3 database migrations for version control of your database schema.
Built for developers who want simplicity without sacrificing power.
Created with PHP beginners in mind. Simple concepts, clear documentation, and an easy learning curve. No complex paradigms to learn.
Built on CodeIgniter 3's proven foundation with modern PHP features and improved developer experience. Familiar yet better.
Full support for PHP 8.4 with backward compatibility. Use modern PHP features with confidence and future-proof your applications.
Easily integrate with other PHP frameworks and packages. Extend functionality as needed with your favorite tools.
Continuously improved and updated. Community-driven with regular updates and feature additions.
Applications and Teams using Webby in production
Building innovative solutions with Webby
Powering ecommerce applications with Webby
Creating impactful digital experiences
Build robust REST APIs with built-in support for authentication, rate limiting, and response formatting. Perfect for mobile and SPA backends.
Create full-featured web applications with server-side rendering, authentication, and dynamic content. Use Plates templating for clean views.
Build powerful CLI tools and scheduled tasks. Perfect for data processing, background jobs, and automation scripts.
Power your mobile applications with fast, secure APIs. Handle authentication, push notifications, and data synchronization.
Install Webby via Composer and start building immediately
$ composer create-project webbyphp/webby your-project-nameQuick setup with a single command. Composer handles all dependencies automatically.
Set up your database and routes. Start creating your first module.
Deploy to production with confidence. Built for performance and scale.
Connect with other developers and get help
Simple, powerful, and beginner-friendly
| Feature | WebbyPHP | Laravel | CI4 | Symfony |
|---|---|---|---|---|
| Learning Curve | Easy | Moderate | Moderate | Complex |
| HMVC Architecture | ||||
| PHP 8.5 Support | ||||
| Beginner Friendly | ~ | |||
| Built-in REST API | ~ | ~ |
= Fully Supported | ~ = Partial Support | = Not Available
Everything you need to know about Webby
Webby was created with PHP beginners in mind, to simplify how web applications can be built without complex concepts and functionalities. Looking at how other PHP frameworks make it difficult for beginners to start, we're taking a different approach. Also, CodeIgniter 3 wasn't being updated for some time, and I saw it as an opportunity to learn and improve upon it.
Yes! Webby uses the core of CodeIgniter 3 framework and borrows some new features from CodeIgniter 4. It's designed to help developers familiar with CI3 easily adapt to CI4 with similar syntax and concepts. We've added HMVC architecture, improved routing, services pattern, and many other modern features while keeping the simplicity that made CI3 popular.
Webby fully supports PHP 8.3 through 8.5. We recommend using PHP 8.4 for the best performance and latest features. We're committed to staying current with PHP versions and ready to support PHP 8.5 when it's released.
Absolutely! Webby is production-ready and is already being used by several companies including Seguah Dreams, Glomot Company, JuxBuy, ByteAura and Wigal Vision. It's built on the stable CodeIgniter 3 core with modern enhancements for security, performance, and developer experience.
We welcome contributions! You can contribute by reporting bugs, suggesting features, improving documentation, or submitting pull requests on our GitHub repository. Check out our Contribution Guide to get started.
Yes! Join our GitHub Discussions to ask questions, share ideas, and connect with other developers. We also have comprehensive documentation, tutorials on our blog, and an active development team responding to issues.
Join the community of developers building with Webby