Example #1
0
|
*/
Extension::registering(function (Extension $extension) {
    // Before an extension is registered (happens for every extension)
});
Extension::registered(function (Extension $extension) {
    // After an extension is registered
});
Extension::booting(function (Extension $extension) {
    // Before an installed and enabled extension boots (after all are registered)
});
Extension::booted(function (Extension $extension) {
    // After an installed and enabled extension boots
});
Extension::installing(function (Extension $extension) {
    // Before an extension is installed
});
Extension::installed(function (Extension $extension) {
    // After an extension is installed
});
Extension::uninstalling(function (Extension $extension) {
    // Before an extension is uninstalled
});
Extension::uninstalled(function (Extension $extension) {
    // After an extension is uninstalled
});
Extension::enabling(function (Extension $extension) {
    // Before an extension is enabled
});
Extension::enabled(function (Extension $extension) {
    // After an extension is enabled