Currently, you can use Composer to install the index.php file in to your /vendor directory, but it can't be autoloaded by an more complex application or framework without using require_once(), which isn't ideal.
I've added namespacing to the class, and tagged it for autoload. This now allows for things like this (this example is in Laravel:)
Thanks for your contribution, @JackWH! To be honest, I never really thought of the gui being used within other systems like Laravel, more as a complete standalone script, so never went and namespaced it. :smile:
Currently, you can use Composer to install the
index.php
file in to your/vendor
directory, but it can't be autoloaded by an more complex application or framework without usingrequire_once()
, which isn't ideal.I've added namespacing to the class, and tagged it for autoload. This now allows for things like this (this example is in Laravel:)