Re-implements the API after it was removed in the Laravel 5.3 upgrade.
Permission obtained from @DDynamic. Contributions from other users were removed since we did not obtain permission from them for the re-license. From this point forward all contributors must have a signed Contributor License Agreement on file.