Extension Kernel
The service provider binds JobMetric\Extension\Kernel\ExtensionKernel. Laravel's booting callback discovers available classes, loads installed entries and registers the extensions. The booted callback handles upgrades and boots registered resources.
Discovery starts from registered namespaces and types. The package uses the installed snapshot at storage/app/installed_extensions.json to avoid repeatedly querying the database for the installed list. Treat it as managed metadata and keep its storage available across application nodes.
The optional discovery cache is configured through EXTENSION_DISCOVER_CACHE_TTL. Its default value of zero disables caching. When distributing an extension through Composer, make its namespace autoloadable and register the namespace before discovery.