Download the PHP package masterix21/laravel-licensing without Composer

On this page you can find all versions of the php package masterix21/laravel-licensing. 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-licensing

Laravel Licensing

Latest Version on Packagist GitHub Tests Action Status Total Downloads

A licensing package for Laravel with offline verification, seat management, cryptographic key rotation, and multi-product support.

Features

Requirements

Installation

Publish config and migrations, then migrate:

Generate your root key and first signing key:

The root key is encrypted with the passphrase from the LICENSING_KEY_PASSPHRASE env variable. If missing, the command will prompt you to set one (unless running with --no-interaction).

MySQL / MariaDB notes

Migrations are tested against MySQL 8 and MariaDB 11 in CI. Two points worth knowing if you run into errors on older setups:

Quick Start

Create and activate a license

You can also pass your own key as second argument to createWithKey(), or use the lower-level License::create() with a pre-hashed key via License::hashKey().

Register a device (seat)

Issue an offline token

Check license status

Key retrieval and regeneration

Multi-Product Scopes

Scopes let you manage multiple products with independent signing keys and rotation schedules.

Issue a signing key for this scope:

When you create a license with a license_scope_id, tokens are automatically signed with the scope's key. A compromised key in one scope doesn't affect the others.

Key Management

Key generation, retrieval, and regeneration are handled by pluggable services:

Implement LicenseKeyGeneratorContract (or the retriever/regenerator contracts) to plug in your own logic.

Related Packages

Package Description
laravel-licensing-client Client package for validating licenses against a server — offline verification, usage registration, route middleware
laravel-licensing-filament-manager Filament admin panel for license management, usage monitoring, key rotation, and audit trail

Testing

Laravel Boost integration

This package ships AI guidelines under resources/boost/guidelines/laravel-licensing/core.blade.php. Apps using Laravel Boost auto-discover them:

The guidelines cover: core concepts, licenses, usages/seats, scopes & templates, trials, offline tokens, CLI, and API/security. AI assistants (Claude Code, Copilot, Cursor, …) will follow them when generating code against laravel-licensing.

Heads up: boost:update --discover uses an interactive multi-select. On a TTY, select masterix21/laravel-licensing when prompted. In non-interactive environments (CI, automation), the prompt is silently skipped and the package is not added — append it manually to boost.json:

then re-run php artisan boost:update --no-interaction.

To verify the integration end-to-end against a throwaway Laravel app, run scripts/test-boost-e2e.sh from the package root.

Documentation

Full documentation is available in the docs folder.

Sponsor

If this package is useful to you, consider sponsoring its development.

Contributing

Contributions are welcome. See CONTRIBUTING.md for details.

Security

If you discover a security vulnerability, please email [email protected] instead of using the issue tracker.

License

MIT. See LICENSE.md.

Credits


All versions of laravel-licensing with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-openssl Version *
ext-sodium Version *
illuminate/console Version ^12.0 || ^13.0
illuminate/contracts Version ^12.0 || ^13.0
illuminate/database Version ^12.0 || ^13.0
illuminate/http Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
paragonie/paseto Version ^3.5
spatie/crypto Version ^2.0
spatie/laravel-package-tools Version ^1.16
spatie/laravel-sluggable Version ^4.0.0
symfony/uid Version ^7.0 || ^8.0
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 masterix21/laravel-licensing contains the following files

Loading the files please wait ...