{"id":15497754,"url":"https://github.com/devuri/addsfkey","last_synced_at":"2025-03-22T17:14:55.336Z","repository":{"id":101721627,"uuid":"121689326","full_name":"devuri/addsfkey","owner":"devuri","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-15T22:16:26.000Z","size":182,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-19T14:22:52.548Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devuri.png","metadata":{"files":{"readme":"README","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-15T22:14:39.000Z","updated_at":"2018-02-15T22:16:26.000Z","dependencies_parsed_at":"2023-05-22T11:15:22.208Z","dependency_job_id":null,"html_url":"https://github.com/devuri/addsfkey","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"5bbce1d642d3e330a6c90d87b8460b7b132586fe"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devuri%2Faddsfkey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devuri%2Faddsfkey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devuri%2Faddsfkey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devuri%2Faddsfkey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devuri","download_url":"https://codeload.github.com/devuri/addsfkey/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244991175,"owners_count":20543627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T08:40:38.664Z","updated_at":"2025-03-22T17:14:55.299Z","avatar_url":"https://github.com/devuri.png","language":"PHP","readme":"This class can used to generate license style keys to control the distribution\r\nand functionality of PHP applications.\r\n\r\nIt generates license strings that can bind PHP applications to specific domains,\r\nspecific servers, can only be executed during limited time period, or to\r\nrestrictions placed on a home server within the license key.\r\n\r\nThe binding to server process attempts to use the server network card MAC\r\naddress. This feature was tested on servers are Mac OS X (Darwin), Linux,\r\nWindows XP, although it may also work for FreeBSD, NetBSD, Solaris.\r\n\r\nPADL also attempts to use information from $_SERVER variable to encode that\r\nserver name, server IP, server application path and server application url to\r\nthe license key. Part of the process also binds the IP Address from the $_SERVER\r\nvariable if found, but it also attempts to parse the server config file (the\r\nsame used to get the MAC address) for any more IPs.\r\n\r\nThe server binding can be disabled if required, and it also possible to block\r\nthe key being generated for the localhost address (127.0.0.1).\r\n\r\nThe time limiting of the license uses a start period (and a given start offset\r\nto allow for time discrepancies) and an expiry date if required.\r\n\r\nIf required when validating a key it is also possible to dial home to check the\r\nlicense key on your own PADL License Server, examples are given.\r\n\r\nThe PHP_OS and PHP_VERSION of the php that the key was generated for is also\r\nencrypted into the key.\r\n\r\nIt is also possible to encrypt additional information into the license key to\r\nenable you to place restrictive features in your application to allow the\r\ncreation of trialware or demoware.\r\n\r\nThis class is still in development however it is stable. A GUI is to follow.\r\n\r\n\r\n---------------------------\r\n\r\n\r\nThe original class has now been broken down into seperate classes, both for\r\nsecurity and ease of use.\r\n\r\nThe demo folder contains a demo single file application, you should note that \r\nboth the app folder and server also contain seperate demo files. The App folder \r\ncontains the classes that would be required by the application using this class. \r\nAnd the Server folder contains the class that would be used by your license \r\nserver setup.\r\n\r\nThe additional folder, Shared, contains the main distributionLicense class and \r\nis needed by both the app and server classes. The demo files should explain \r\nthe new setup.\r\n\r\nI have added new features removed some old redundant ones, and updated others.\r\n\r\nI do eventually want to evolve this class into an application with a gui, and\r\nwill be looking for help with that if anybody cares to offer.\r\n\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevuri%2Faddsfkey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevuri%2Faddsfkey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevuri%2Faddsfkey/lists"}