In order to upgrade from Splash 8 to Splash 10, you need to perform the following steps:
composer.json
file.composer update
Mouf\Mvc\Splash
with TheCodingMachine\Splash
In order to upgrade from Splash 7 to Splash 8, you need to perform the following steps:
composer.json
file.php composer.phar update
extends Controller
in each controller. Starting from Splash 8, controllers do not extend any class.@URL
annotations. In Splash 8, annotations are handled by the Doctrine annotations library. Therefore:
use TheCodingMachine\Splash\Annotations\URL;
in each controller.@URL my/path => @URL("my/path")
@Action
annotations.
use TheCodingMachine\Splash\Annotations\Action;
in each controller.You are done. Enjoy the new features!
In order to upgrade from Splash 5 to Splash 7, you need to perform the following steps:
composer.json
file.php composer.phar update
Request
and Response
classes and start using PSR-7's ServerRequestInterface
and ResponseInterface
You are done. Enjoy the new features!
Hey! What about Splash 6? Mmmm... there was never a stable Splash 6. Splash 6 is a release targeting Mouf 2.1 that is not released as we write these lines.
In order to upgrade from Splash 4 to Splash 5, you need to perform the following steps:
composer.json
file.php composer.phar update
You are done. Enjoy the new features!
Found a typo? Something is wrong in this documentation? Just fork and edit it!