This version is outdated. You should upgrade your project to Mako 11.2!
Getting started
Routing and controllers
Command line
Databases (SQL)
Databases (NoSQL)
Security
Packages
Learn more
- Array helper
- Caching
- Command bus
- Date and time
- Events
- File system
- HTML helper
- Humanizer
- Image manipulation
- Internationalization
- Logging
- Number helper
- Pagination
- Sessions
- String helper
- URL builder
- UUID helper
- Validation
- Views
Official packages
Upgrading
This guide takes you through the steps needed to migrate from Mako 5.3.x
to 5.4.x
.
Application
The MAKO_START
constant has been removed. Use the Application::startTime()
method instead.
Framework
Request
All methods that were deprecated in 5.3 have been removed. Check out the request docs for information on how to upgrade your application.
Response
Response filters have been removed. Middleware should be used to achieve the same results.
Commands
Parameters passed to the execute
method of reactor commands are now converted to camel case.
// Before: php app/reactor command --cache-path=/foo/bar
public function execute($cache_path)
{
// ....
}
// Now: php app/reactor command --cache-path=/foo/bar
public function execute($cachePath)
{
// ....
}