LaravelPackages.net
Acme Inc.
Toggle sidebar
erjon/laravel_license

Package to give a project an license and prevent installation if client doesn't have it

11
0
v0.1
About erjon/laravel_license

erjon/laravel_license is a Laravel package for package to give a project an license and prevent installation if client doesn't have it. It currently has 0 GitHub stars and 11 downloads on Packagist (latest version v0.1). Install it with composer require erjon/laravel_license. Discover more Laravel packages by erjon or browse all Laravel packages to compare alternatives.

Last updated

Laravel license

Create licenses for your website

Installation

composer require erjon/laravel_license

Publish files

php artisan vendor:publish --tag=license

This will create two files in your project

  • config/vendor/license/license.php
  • views/vendor/license/activate.blade.php

Migrate

You can migrate if your website uses database

php artisan migrate

Add license

php artisan license:add ABCD-EFGH-IJKL

Activate the license when you first install the project

1. By command line

php artisan license:activate ABCD-EFGH-IJKL

2. Just straight up open the website and insert the license in the form provided.

Things to consider

  • If you activate the license before connecting to the database, you will be required to provide the license one more time.
  • License should be 8 to 30 characters long.
  • Someone with enough knowledge of php/laravel or just programming in general can easily copy the existing project.
  • License characters allowed are ascii characters from 33 to 122. https://www.ascii-code.com
Comments