Skip to content

Commit

Permalink
Use Slim 3
Browse files Browse the repository at this point in the history
Since Slim 3 doesn’t have built in view rendering, added a class for
that. Also moved various services and functions into the DI container.
Services that used $app before now properly rely on only the resources
they need (e.g. the request object).

There are still a few rough edges on Slim 3 (e.g. lack of native cookie
support on the response…hence the copy-pasted function from
Slim\Http\Cookie). But it’s stable enough that this works just fine :)
  • Loading branch information
iansltx committed Jul 9, 2015
1 parent b5eaf33 commit 2790c23
Show file tree
Hide file tree
Showing 6 changed files with 346 additions and 85 deletions.
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -10,8 +10,8 @@
}
],
"require": {
"slim/slim": "2.*",
"twilio/sdk": "dev-master",
"aura/sql":"2.*"
"aura/sql":"2.*",
"slim/slim": "3.x-dev"
}
}
230 changes: 209 additions & 21 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2790c23

Please sign in to comment.