/* |-------------------------------------------------------------------------- | Platform Hooks |-------------------------------------------------------------------------- | | Hooks for events of Platform itself. | */ Platform::booting(function ($platform) { // Before Platform and it's extensions have booted }); Platform::booted(function ($platform) { // When everything is setup and ready to roll }); Platform::ineligible(function ($platform) { // Whenever Platform cannot run (needs installing etc) }); /* |-------------------------------------------------------------------------- | Extension Hooks |-------------------------------------------------------------------------- | | Hooks for various stages of an Extension's lifecycle. You can access the | individual extension properties through $extension->getSlug(). | */ Extension::registering(function (Extension $extension) { // Before an extension is registered (happens for every extension) }); Extension::registered(function (Extension $extension) { // After an extension is registered