Пример #1
0
    // 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
});
Extension::disabling(function (Extension $extension) {
    // Before an extension is disabled
});
Extension::disabled(function (Extension $extension) {
    // After an extension is disabled
});
Extension::upgrading(function (Extension $extension) {
    // Before an extension is upgraded