Making my framework a Composer framework
Shaun Bebbington Jun 12
Over the past two years or so, I've been developing a PHP 7 framework, firstly as a teaching tool and then used for commercial projects. A colleague of mine told me that I could add it to Composer, which I hardly ever use because I find where I have worked on projects that use Composer, those projects have tended to have Composer packages installed that are not used anywhere. It has also made them bloated and more heavy-weight that they ought to be. Many of those Composer packages I could easily build myself fairly easily, and in doing so I have control of the source and quality of the scripts. And finally I learn more by working things out for myself.
Anyway, aside from this, Composer would give my framework more exposure. So how do I go about adding it to Composer?
My framework is currently available at
A simple OO PHP Framework built as a learning tool but stable enough to be used on a live product.
Developed by Shaun Bebbington and Linden Bryon
Special thanks to Aaron Zvimba for his help, advice and support
FrameWork.php started out life as a simple and quite messy OO MVC framework in order to mentor a junior PHP developer whilst I was working at Rushcliff Ltd in Burton-Upon-Trent, Staffordshire. The idea was to link a controller to each page, and have a model per controller, so that the controller class would act as a middle-man between the front-end view and the database as necessary.
I also thought it necessary to allow numerous file extensions on the page uri alias, so for instance, in the skeleton provided, one might use any of the following:
The idea was to obscure that it was a PHP framework, and to send the page URLs with the .aspx file extension to our pen testers. I don't know if this…
Many thanks in advance.