Download the PHP package jobmetric/laravel-extension without Composer

On this page you can find all versions of the php package jobmetric/laravel-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-extension

Contributors Forks Stargazers MIT License LinkedIn

Laravel Extension

Build Extensions and Plugins. Scale Your App.

Laravel Extension simplifies the management of extensions and plugins within Laravel applications. Stop wiring every feature by hand and start building installable, type-based extensions (e.g. Module, PaymentMethod) with their own migrations, config, routes, and plugins. It offers discovery from registered namespaces, install/uninstall lifecycle with migrations, plugin CRUD with form definitions from each extension, and a kernel that registers and boots only installed extensions. This is where powerful extension management meets developer-friendly simplicity—giving you complete control over extensions and plugins without the complexity.

Why Laravel Extension?

Type-Based Extensions

Create extensions by type (e.g. Module, ShippingMethod). Each type is registered in ExtensionTypeRegistry (via config or at runtime). Extensions live under a namespace registered in ExtensionNamespaceRegistry (e.g. App\Extensions). The kernel discovers extension classes from those namespaces and registers them by type. You get a clear structure: one extension class per type+name, with extension.json, migrations, and optional views/translations.

Install and Uninstall Lifecycle

Install an extension by namespace: the package runs its migrations, stores the extension record, and when the extension is not "multiple", creates a default plugin. Uninstall rolls back migrations, deletes plugins, and removes the extension record. InstalledExtensionsFile keeps a JSON cache of installed namespaces so the kernel can load only installed extensions. Upgrade runs new migrations when the extension version increases; you can also delete extension files from disk after uninstall when they live under App\Extensions.

Plugins with Form-Driven Data

Each extension extends AbstractExtension and defines form() (FormBuilder) and handle(array $options). Plugins belong to an extension and store name, fields (form output), and status. The Plugin service uses StorePluginRequest/UpdatePluginRequest and the extension’s form to validate and normalize plugin data. You can list plugins, add or edit them per extension, and run extension logic via handle() with the plugin’s stored options.

Kernel: Discover, Register, Boot

ExtensionKernel discovers extension classes from ExtensionNamespaceRegistry, registers them in ExtensionRegistry (type => namespaces). It loads only installed extensions from the database, then runs register (configuration, bindings) and boot (migrations, routes, views, translations) per extension in priority order. Route model bindings for jm_extension and jm_plugin are registered; upgrade and boot run after the app is booted. Optional discover cache (config) avoids filesystem scans on every request.

What is Extension Management?

Extension management is the process of defining, discovering, installing, and running extensions and their plugins. In a traditional Laravel application, you might add features by hand in the same codebase with no install/uninstall story. Laravel Extension takes a different approach:

Consider a "Banner" module: you create the extension class under App\Extensions\Module\Banner, add extension.json (extension, name, version, title, multiple, etc.), add a migrations folder with versioned migration files, implement configuration(ExtensionCore), form(), and handle(options). After running php artisan migrate, you install it via Extension::install(namespace); the kernel then registers and boots it. You add plugins via Plugin::store(extensionId, data); each plugin’s fields are validated by the extension’s form. The power of extension management lies in having a single lifecycle: discover types and classes, install only what you need, and run each extension’s logic through plugins with structured data.

What Awaits You?

By adopting Laravel Extension, you will:

Quick Start

Install Laravel Extension via Composer:

Documentation

Ready to transform your Laravel applications? Our comprehensive documentation is your gateway to mastering Laravel Extension:

📚 Read Full Documentation →

The documentation includes:

Contributing

Thank you for participating in laravel-extension. A contribution guide can be found here.

License

The laravel-extension is open-sourced software licensed under the MIT license. See License File for more information.


All versions of laravel-extension with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0.1
laravel/framework Version >=9.19
jobmetric/laravel-package-core Version ^1.38
jobmetric/laravel-event-system Version ^2.8
jobmetric/laravel-form Version ^1.6
spatie/laravel-query-builder Version ^6.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jobmetric/laravel-extension contains the following files

Loading the files please wait ...