PHP Classes

What is the best PHP license key generator script?: Geenerate, validate and expire a 10 digit code every 24 hours

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP license key gene...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP license key generator script?

Edit

Picture of Veronica Krampah by Veronica Krampah - 3 years ago (2021-06-22)

Geenerate, validate and expire a 10 digit code every 24 hours

This request is clear and relevant.
This request is not clear or is not relevant.

+3

I need a good class written in PHP. The purpose is to use it to generate a 10 digit code, validate it on my site and ensure that all generated and used codes expire within 24 hours of validation.

  • 1 Clarification request
  • 1. Picture of ali ali by ali ali - 2 years ago (2022-08-10) Reply

    PHP 5

    Ask clarification

    1 Recommendation

    PADL (PHP Application Distribution License System): Generate PHP application license keys

    This class can used to generate license style keys to control the distribution and functionality of PHP applications.

    It generates license strings that can bind PHP applications to specific domains, specific servers, can only be executed during limited time period, or to restrictions placed on a home server within the license key.

    The binding to server process attempts to use the server network card MAC address. This feature was tested on servers are Mac OS X (Darwin), Linux, Windows XP, although it may also work for FreeBSD, NetBSD, Solaris.

    PADL also attempts to use information from $_SERVER variable to encode that server name, server IP, server application path and server application url to the license key. Part of the process also binds the IP Address from the $_SERVER variable if found, but it also attempts to parse the server config file (the same used to get the MAC address) for any more IPs.

    The server binding can be disabled if required, and it also possible to block the key being generated for the localhost address (127.0.0.1).

    The time limiting of the license uses a start period (and a given start offset to allow for time discrepancies) and an expiry date if required.

    If required when validating a key it is also possible to dial home to check the license key on your own PADL License Server, examples are given.

    The PHP_OS and PHP_VERSION of the php that the key was generated for is also encrypted into the key.

    It is also possible to encrypt additional information into the license key to enable you to place restrictive features in your application to allow the creation of trialware or demoware.

    This class is still in development however it is stable. A GUI is to follow.
    This recommendation solves the problem.
    This recommendation does not solve the problem.

    +1

    Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 3 years ago (2021-06-27) Comment

    There several packages on the site that can be used to generate license keys. From all I analyzed, this is the only one that allows setting an expiry time.


    Recommend package
    : 
    :