slimphp / Slim

Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
http://slimframework.com
MIT License
11.94k stars 1.95k forks source link

Write migration guide to 3.0 #1565

Closed clicman closed 8 years ago

clicman commented 8 years ago

As Slim 3.0 becomes RC I thing it will good to have migration from "Slim 2 guide" article. I`ve tried to run my slim 2 api roject in 3.0 and its fails to run. Possible scope:

  1. Basic initialization.
  2. Middleware migration.
  3. View migration ...
akrabat commented 8 years ago

We have http://www.slimframework.com/docs/start/upgrade.html so far and would love contributions to it at https://github.com/slimphp/Slim-Website

juliangut commented 8 years ago

The other day I answer a question on how to implement custom Exceptions in routes and how to automatically handle them. I feel this is something that should go on the migration guide, or at least on the docs

geggleto commented 8 years ago

Well Given that in Slim 2 you nearly can't use exceptions at all, we can likely add that in there somewhere.

akrabat commented 8 years ago

Please just raise PRs against Slim-Website :)