Madhouse Toolbox is the Osclass developer toolkit to create better plugins and themes. It adds an advanced php debug bar to and a friendly error handler to the bottom of every page of your Osclass website.
Inspired by famous PHP frameworks such as Symfony or Laravel, we have compiled some very useful tooling that we have been using while working on various plugins and themes for Osclass.
This plugin requires PHP 5.3 or later and Osclass 3.3 or later.
Debugbar for Osclass
The debugbar included in Madhouse Toolbox will sit at the bottom of the screen and will give you an overview on some important insights when developing your next most awesome plugin for Osclass.
Log Messages: view log messages from plugins or themes;
Request inspector: inspect HTTP requests and session as well as exported variables by Osclass;
Monitor Performance: get some useful performance insights on memory consumption and page loading time of each page of your Osclass website;
Monitor SQL queries: monitor your database, number of SQL queries per page and their execution time. Combined it with the performance insights, you should get a thorough analysis;
Plugins: overview of which plugins is loaded and in what order;
The debugbar works with every page and every request with a browsable history of past requests or headless requests in the top right corner.
Friendly error page
Madhouse Toolbox adds a nice-looking and interactive error page to track down errors.
In just a glimpse, you’ll get a complete overview of your errors with an excerpt of the source code, an overview of the request and a stacktrace explorer. More context makes faster debugging and error-free code for your plugins and themes.
More features to come!
A better timing tab will be the next feature planned to be added with advanced profiling of code.
Our plugins have started to work with the famous PHP Monolog logging system and we’re planning to bridge the Log Messages tab with Monolog soon.
osclass is a php script that allows you to quickly create and manage your own free classifieds site. Using this script, you can provide free advertising for items for sale, real estate, jobs, cars... Hundreds of free classified advertising sites are using osclass. Visit our demo and post a free ad to see osclass in action. Visit our official Market for premiums osclass themes and osclass plugins.