DavidePastore / Slim-Config

A file configuration loader that supports PHP, INI, XML, JSON, and YML files for the Slim Framework. It internally uses https://github.com/hassankhan/config.
34 stars 7 forks source link

Include how to organize dependencies, middleware, and routes if using the Slim skeleton project #2

Open jbulava opened 8 years ago

jbulava commented 8 years ago

I noticed the README example includes the dependencies, middleware, and routing all within one file. It may be worth adding a note for anyone using the Slim skeleton project that these should be separated into src/dependencies.php, src/middleware.php, and src/routes.php.

DavidePastore commented 8 years ago

Yes, you're right! Feel free to create a PR for this if you already have something in mind. :+1: