Back to blog

Using thephpleague Flysystem with S3 and public read


For a project I had to store some files on Amazon S3 and I used the wonderful Flysystem package from The PHPLeague. While using this I encountered 2 problems: 1. Region lock If your S3 bucket is created in any other region than US (although it seems impossible to do so) you might encounter problems […]

List all controllers and methods in Codeigniter


Use the following library to list all Controllers and methods of a Codeigniter application. You could use it for information about your application or to protect controllers and methods with an ACL plugin for example.

List all controllers in Cakephp 2


I needed to list all the Controllers of an Cakephp 2 application. I searched the webz and found an old article that got me started. The original article with code is here: http://cakebaker.42dh.com/2006/07/21/how-to-list-all-controllers/. Here is the (rewritten) code for a CakePHP 2 Component: