{"id":16467287,"url":"https://github.com/irfaardy/app-license-server","last_synced_at":"2025-07-02T03:34:47.696Z","repository":{"id":56993425,"uuid":"315288561","full_name":"irfaardy/app-license-server","owner":"irfaardy","description":"Serial number Endpoint Server","archived":false,"fork":false,"pushed_at":"2020-12-18T06:03:14.000Z","size":27,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-31T17:31:02.182Z","etag":null,"topics":["endpoint","endpoint-security","license","license-management","security","serial-number"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/irfaardy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"irfa","ko_fi":"irfaardy","custom":["buymeacoff.ee/irfaardy"]}},"created_at":"2020-11-23T11:07:58.000Z","updated_at":"2024-08-31T14:45:15.000Z","dependencies_parsed_at":"2022-08-21T13:20:39.219Z","dependency_job_id":null,"html_url":"https://github.com/irfaardy/app-license-server","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/irfaardy/app-license-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fapp-license-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fapp-license-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fapp-license-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fapp-license-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irfaardy","download_url":"https://codeload.github.com/irfaardy/app-license-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irfaardy%2Fapp-license-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263070710,"owners_count":23409167,"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":["endpoint","endpoint-security","license","license-management","security","serial-number"],"created_at":"2024-10-11T11:46:51.373Z","updated_at":"2025-07-02T03:34:47.664Z","avatar_url":"https://github.com/irfaardy.png","language":"PHP","funding_links":["https://patreon.com/irfa","https://ko-fi.com/irfaardy","buymeacoff.ee/irfaardy","https://www.buymeacoffee.com/OBaAofN","https://ko-fi.com/S6S52P7SN"],"categories":[],"sub_categories":[],"readme":"\r\n\r\n# 🚀Lisensi aplikasi untuk server endpoint\r\n\r\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/irfaardy/app-license-server/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/irfaardy/app-license-server/?branch=master) [![Build Status](https://scrutinizer-ci.com/g/irfaardy/app-license-server/badges/build.png?b=master)](https://scrutinizer-ci.com/g/irfaardy/app-license-server/build-status/master) [![Latest Stable Version](https://poser.pugx.org/irfa/app-license-server/v)](//packagist.org/packages/irfa/app-license-server) [![GitHub license](https://img.shields.io/github/license/irfaardy/encrypt-file-laravel?style=flat-square)](https://github.com/irfaardy/encrypt-file-laravel/blob/master/LICENSE)  \r\n\r\n[![Support me](https://img.shields.io/badge/Support-Buy%20me%20a%20coffee-yellow.svg?style=flat-square)](https://www.buymeacoffee.com/OBaAofN) [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/S6S52P7SN)\r\n\r\n\u003cp\u003eThis plugin functions to create a serial number that will be accessed using plugin \u003ca href=\"https://github.com/irfaardy/app-license-client\"\u003eClient side License\u003c/a\u003e\u003cp\u003e\r\n\u003ch3\u003e🛠️ Installation with Composer \u003c/h3\u003e\r\n\r\n\r\n    composer require irfa/app-license-server\r\n\r\n\u003eYou can get Composer [ here]( https://getcomposer.org/download/)\r\n\r\n***\r\n\r\n\r\n\u003ch2\u003e🛠️ Laravel Setup \u003c/h2\u003e\r\n\r\n\u003ch3\u003eAdd to config/app.php\u003c/h3\u003e\r\n\r\n    'providers' =\u003e [\r\n        ....\r\n       Irfa\\AppLicenseServer\\AppLicenseServerServiceProvider::class,\r\n         ];\r\n\r\n\r\n\r\n\u003ch3\u003eAdd to config/app.php\u003c/h3\u003e\r\n\r\n    'aliases' =\u003e [\r\n             ....\r\n      'ALS' =\u003e Irfa\\AppLicenseServer\\Facades\\AppLicenseServer::class,\r\n    \r\n        ],\r\n\r\n  \u003ch2\u003ePublish Vendor\u003c/h2\u003e\r\n\r\n\r\n    php artisan vendor:publish --tag=app-license-server\r\n\r\n\u003ch2\u003eRun Migration\u003c/h2\u003e\r\n\r\n```\r\nphp artisan migrate\r\n```\r\n\r\n\u003ch2\u003eConfig File\u003c/h2\u003e\r\n\r\n    config/irfa/app_license_server.php\r\n\r\n\u003ch2\u003eInside Config File\u003c/h2\u003e\r\n\r\n\r\n```php\r\n\u003c?php \r\n\treturn [ \r\n\r\n\r\n                'license_route'\t\t=\u003e '/check/license',\r\n\r\n\r\n                'route_name'\t\t=\u003e 'check_license',\r\n\r\n\r\n                'char_type'\t\t\t=\u003e 'alphanumeric', //Type alphanumeric,numeric,or alphabet\r\n\r\n                'length'\t\t\t=\u003e 4,//default : 4\r\n\r\n                'segment'\t\t\t=\u003e 4,//default : 4\r\n\r\n                'striped'\t\t\t=\u003e true,//default : true\r\n\r\n\r\n\r\n];\r\n\r\n    \t\r\n    \r\n```\r\n\r\n\r\n  \r\n\u003ch2\u003eRegister New Serial Number License\u003c/h2\u003e\r\n\r\n\r\n```php\r\n\u003c?php\r\n\r\nnamespace App\\Http\\Controllers;\r\n\r\nuse ALS;\r\nuse Illuminate\\Http\\Request;\r\nuse App\\Http\\Controllers\\Controller;\r\n\r\nclass LicenseController extends Controller\r\n{\r\n   \r\n    public function register(Request $request)\r\n    {\r\n      \treturn ALS::register(['name'=\u003e\"Lorem\",\r\n      \t\t\t\t\t\t'domain'=\u003e\"example.com\",\r\n      \t\t\t\t\t\t'phone_number'=\u003e\"08123123\",\r\n      \t\t\t\t\t\t'address'=\u003e\"Bandung,Indonesia\"],now()-\u003eaddDays(30));\t\r\n    }\r\n}\r\n```\r\n\r\n\u003ch2\u003e Check License\u003c/h2\u003e\r\n\r\n```php\r\n\u003c?php\r\n\r\nnamespace App\\Http\\Controllers;\r\n\r\nuse ALS;\r\nuse Illuminate\\Http\\Request;\r\nuse App\\Http\\Controllers\\Controller;\r\n\r\nclass LicenseController extends Controller\r\n{\r\n\r\n    public function check(Request $request)\r\n    {\r\n      \treturn ALS::serial($request-\u003eserial)-\u003echeck();\t\r\n    }\r\n\r\n}\r\n```\r\n\r\n\u003ch2\u003eDisabled Serial number\u003c/h2\u003e\r\n\r\n```php\r\nALS::serial($request-\u003eserial)-\u003edisabled();\t\r\n```\r\n\r\n\u003ch2\u003eEnabled serial number\u003c/h2\u003e\r\n\r\n```php\r\nALS::serial($request-\u003eserial)-\u003edisabled();\r\n```\r\n\r\n​\t\r\n\r\n##How to Contributing?\r\n\r\n1. Fork it (\u003chttps://github.com/irfaardy/app-license-server/fork\u003e)\r\n2. Commit your changes (`git commit -m 'New Feature'`)\r\n3. Push to the branch (`git push origin your-branch)\r\n4. Create a new Pull Request ` your-branch -\u003e master`\r\n\r\nif you found bug or error, please post here https://github.com/irfaardy/app-license-server/issues so that they can be maintained together.\r\n\r\n\r\n\r\n***\r\n\r\n## Bagaimana cara berkontribusi?\r\n\r\n1. Lakukan fork di (\u003chttps://github.com/irfaardy/app-license-server/fork\u003e)\r\n2. Commit perubahan yang anda lakukan (`git commit -m 'Fitur Baru'`)\r\n3. Push ke branch master (`git push origin branch-kamu)\r\n4. Buat Pull Request baru `branch-kamu -\u003e master`\r\n\r\n---\r\n\r\n## Issue\r\n\r\nIf you found issues or bug please create new issues here https://github.com/irfaardy/app-license-server/issues/new\r\n\r\nJika anda menemukan bug atau error silahkan posting disini https://github.com/irfaardyapp-license-server/issues agar dapat diperbaiki bersama-sama.\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firfaardy%2Fapp-license-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firfaardy%2Fapp-license-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firfaardy%2Fapp-license-server/lists"}