RawPHP documentation
This is the official documentation for RawPHP Framework
Tutorials
- Build a Sample Blog Application - Written tutorials
- Build A Powerful Job Recruitment Platform - Video Tutorials
Get Started
- Installation
- Upgrade Guide
- Web Servers
- Deployment
Naming conventions
- Databases
- Models
- Views
- Controllers
Console
Concepts
- PSR 7
- Middleware
- Dependency Container
The Application
- Overview
- Configuration
- Default settings
The Request
- Overview
- Method
- Headers
- Body
- Uploaded Files
- Helpers
- Route object
- Media type parsers
The Response
- Overview
- Status
- Headers
- Body
- JSON
Routing
- Overview
- Create Routes
- Callbacks
- Strategies
- Placeholders
- Names
- Groups
- Middleware
- Container Resolution
Error Handling
- Error Handlers
- 404 Not Found
- 405 Not Allowed
- PHP Runtime Error
Cook book
- Trailing / in routes
- Retrieving IP address
- Retrieving Current Route
- Using Eloquent with RawPHP
- Enabling CORS
- Getting and Mocking the Environment
- Uploading Files using POST forms
Add Ons
- Templates
- HTTP Caching
- CSRF Protection
- Flash Messages
Contributing
- Branching Strategy
- Guidelines
Bring your own components
RawPHP is designed to play well with other PHP components, too. You can register
additional first-party components , packages and middlewares used in other frameworks into .
How to read this documentation
If you are new to RawPHP, I recommend you read this documentation from start
to finish. If you are already familiar with RawPHP, you can instead jump straight
to the appropriate section.
This documentation begins by explaining RawPHP's concepts and architecture
before venturing into specific topics like request and response handling,
routing, and error handling.
symfony
CakePHP
Slim
laravel
httpcache
doctrine