laravel-ready / license-server Goto Github PK
View Code? Open in Web Editor NEWReady to use License Server package for Laravel. Add a licensing system to your products or services.
License: MIT License
Ready to use License Server package for Laravel. Add a licensing system to your products or services.
License: MIT License
Error for creating license with domain
I get this error message
TypeError: Pdp\TopLevelDomains::__construct(): Argument #3 ($lastUpdated) must be of type DateTimeImmutable, bool given, called in D:\laragon\www\sekolahdigital\vendor\jeremykendall\php-domain-parser\src\TopLevelDomains.php on line 54 in file D:\laragon\www\sekolahdigital\vendor\jeremykendall\php-domain-parser\src\TopLevelDomains.php on line 25
D:\laragon\www\sekolahdigital\vendor\jeremykendall\php-domain-parser\src\TopLevelDomains.php(54): Pdp\TopLevelDomains->__construct(Array, '2023120300', false)
D:\laragon\www\sekolahdigital\vendor\jeremykendall\php-domain-parser\src\TopLevelDomains.php(42): Pdp\TopLevelDomains::fromString('# Version 20231...')
D:\laragon\www\sekolahdigital\vendor\laravel-ready\license-server\src\Support\DomainSupport.php(34): Pdp\TopLevelDomains::fromPath('D:\laragon\www\...')
D:\laragon\www\sekolahdigital\vendor\laravel-ready\license-server\src\Http\Middleware\DomainGuardMiddleware.php(20): LaravelReady\LicenseServer\Support\DomainSupport::validateDomain('google.com')
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(180): LaravelReady\LicenseServer\Http\Middleware\DomainGuardMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Routing\Middleware\SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(180): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Routing\Middleware\ThrottleRequests.php(159): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Routing\Middleware\ThrottleRequests.php(90): Illuminate\Routing\Middleware\ThrottleRequests->handleRequest(Object(Illuminate\Http\Request), Object(Closure), Array)
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(180): Illuminate\Routing\Middleware\ThrottleRequests->handle(Object(Illuminate\Http\Request), Object(Closure), '60', '1')
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Routing\Middleware\ThrottleRequests.php(159): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Routing\Middleware\ThrottleRequests.php(125): Illuminate\Routing\Middleware\ThrottleRequests->handleRequest(Object(Illuminate\Http\Request), Object(Closure), Array)
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Routing\Middleware\ThrottleRequests.php(87): Illuminate\Routing\Middleware\ThrottleRequests->handleRequestUsingNamedLimiter(Object(Illuminate\Http\Request), Object(Closure), 'api', Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(180): Illuminate\Routing\Middleware\ThrottleRequests->handle(Object(Illuminate\Http\Request), Object(Closure), 'api')
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Routing\Router.php(805): Illuminate\Pipeline\Pipeline->then(Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Routing\Router.php(784): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Routing\Router.php(748): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Routing\Router.php(737): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(200): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http{closure}(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\barryvdh\laravel-debugbar\src\Middleware\InjectDebugbar.php(66): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(180): Barryvdh\Debugbar\Middleware\InjectDebugbar->handle(Object(Illuminate\Http\Request), Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(Object(Illuminate\Http\Request), Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle(Object(Illuminate\Http\Request), Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance.php(99): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Http\Middleware\HandleCors.php(62): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(180): Illuminate\Http\Middleware\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Http\Middleware\TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(175): Illuminate\Pipeline\Pipeline->then(Object(Closure))
D:\laragon\www\sekolahdigital\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
D:\laragon\www\sekolahdigital\public\index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
{main}
I'm using laragon with .test pretty domain and laravel 10
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires laravel-ready/license-server ^1.2 -> satisfiable by laravel-ready/license-server[1.2.4].
- laravel-ready/license-server 1.2.4 requires laravel/sanctum ^2.15 -> found laravel/sanctum[v2.15.0, v2.15.1, 2.x-dev] but it conflicts with your root
composer.json require (^3.0).
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel-ready/license-server[1.0.1, ..., 1.2.7] require illuminate/support ^9.0 -> found illuminate/support[v9.0.0, ..., v9.52.6] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires laravel-ready/license-server * -> satisfiable by laravel-ready/license-server[1.0.1, ..., 1.2.7].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require laravel-ready/license-server:*" to figure out if any version is installable, or "composer require laravel-ready/license-server:^2.1" if you know which you need.
What i want to achieve:
A user buys a product based on user counts. So he buys software 1 with 5 users seats and software 2 with 3 user seats.
Now the buyer gets one license key per software (2 in total), which he can distribute to others, who then can enter this license in their account and get access to the adequate software.
How can i achieve this?
any ideas?
Is there a way to transfer license to another user? Im looking for a way to do this, thank you
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel-ready/license-server[1.0.1, ..., 1.2.7] require illuminate/support ^9.0 -> found illuminate/support[v9.0.0, ..., v9.52.16] but these were not loaded, likely because it conflicts with another require.
- laravel-ready/license-server 1.2.17 requires illuminate/support ^10.0 || ^9.0 -> found illuminate/support[v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.9] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires laravel-ready/license-server * -> satisfiable by laravel-ready/license-server[1.0.1, ..., 1.2.17].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require laravel-ready/license-server:*" to figure out if any version is installable, or "composer require laravel-ready/license-server:^2.1" if you know which you need.
Hi,
My domain is domain.com! I tested with domain.com, WORKS!
I test with subdomain.domain.com and enable subdomain in config.
After license verification:
object(stdClass)#165 (2) { ["status"]=> bool(false) ["message"]=> string(38) "Invalid license key or license source." }
Please help me!
Best regards!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.