{"id":18322729,"url":"https://github.com/labs64/netlicensing-demo","last_synced_at":"2025-04-05T23:31:08.769Z","repository":{"id":21605351,"uuid":"92438023","full_name":"Labs64/NetLicensing-Demo","owner":"Labs64","description":"Labs64 NetLicensing / Demo Application","archived":false,"fork":false,"pushed_at":"2023-01-11T18:47:14.000Z","size":2111,"stargazers_count":6,"open_issues_count":5,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-13T23:54:41.238Z","etag":null,"topics":["api","composer","demo","demo-application","docker","laas","labs64","license","licensing-as-a-service","licensing-library","management","netlicensing","netlicensing-demo-application","netlicensing-io","nginx","php","restful","subscription","try-and-buy"],"latest_commit_sha":null,"homepage":"https://netlicensing.io","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/Labs64.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-25T19:39:02.000Z","updated_at":"2022-11-29T08:10:15.000Z","dependencies_parsed_at":"2023-01-13T21:35:07.322Z","dependency_job_id":null,"html_url":"https://github.com/Labs64/NetLicensing-Demo","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Labs64%2FNetLicensing-Demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Labs64%2FNetLicensing-Demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Labs64%2FNetLicensing-Demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Labs64%2FNetLicensing-Demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Labs64","download_url":"https://codeload.github.com/Labs64/NetLicensing-Demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415783,"owners_count":20935383,"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":["api","composer","demo","demo-application","docker","laas","labs64","license","licensing-as-a-service","licensing-library","management","netlicensing","netlicensing-demo-application","netlicensing-io","nginx","php","restful","subscription","try-and-buy"],"created_at":"2024-11-05T18:25:45.447Z","updated_at":"2025-04-05T23:31:07.362Z","avatar_url":"https://github.com/Labs64.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://netlicensing.io\"\u003e\u003cimg src=\"https://netlicensing.io/img/netlicensing-stage-twitter.jpg\" alt=\"Innovative License Management Solution\"\u003e\u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://travis-ci.org/Labs64/NetLicensing-Demo\"\u003e\u003cimg src=\"https://travis-ci.org/Labs64/NetLicensing-Demo.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# [Labs64 NetLicensing](https://netlicensing.io) Demo Application\n\nThis _NetLicensing Demo Application_ provides a simple way to explore basic [NetLicensing](https://netlicensing.io) functionalities, as well as integration options with real application code. Feel free to use code snippets from this project as a help for NetLicensing integration in your own product.\n\n# Getting started\n\n## With Docker\n\nThis project is based on [docker-compose](https://docs.docker.com/compose/). By default, the following containers are started: _netlicensing-demo (centos:7 based), nginx_. The `/var/www/netlicensing-demo` directory is the web root which is mapped to the nginx container.\nYou can directly edit configuration files from within the repo as they are mapped to the correct locations in containers.\n\n### System Requirements\nTo be able to run NetLicensing Demo you have to meet the following requirements:\n* [docker](https://www.docker.com)\n* [docker-compose](https://docs.docker.com/compose/)\n\n### Run\n\n1. Clone repository\n```\n$ git clone https://github.com/Labs64/NetLicensing-Demo.git\n```\n\n2. Copy `.env.example` to `.env` and modify according to your environment\n```\n$ cp .env.example .env\n```\n\n3. Start environment\n```\n$ docker-compose up -d\n```\n\n4. Build project\n```\n$ docker exec netlicensing-demo ./dockerfiles/bin/prj-build.sh\n```\n\nNow you can browse the site at [http://localhost:80](http://localhost:80)\n\n---\n\n5. Stop environment\n```\n$ docker-compose down\n```\n\n## Without Docker\n\n### System Requirements\nTo be able to run NetLicensing Demo Application you have to meet the following requirements:\n- PHP \u003e 5.6.4\n- PHP Extensions: PDO, cURL, Mbstring, Tokenizer, Mcrypt, XML, GD\n- Node.js \u003e 6.0\n- Composer \u003e 1.0.0\n\n### Installation\n1. Install Composer using detailed installation instructions [here](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)\n2. Install Node.js using detailed installation instructions [here](https://nodejs.org/en/download/package-manager/)\n3. Clone repository\n```\n$ git clone https://github.com/Labs64/NetLicensing-Demo.git\n```\n4. Change into the working directory\n```\n$ cd NetLicensing-Demo\n```\n5. Copy `.env.example` to `.env`\n```\n$ cp .env.example .env\n```\nmodify keys beginning with NLIC in the .env file with your values:\n  - _NLIC_BASE_URL_ - NetLicensing API base URL\n  - _NLIC_AGENT_BASE_URL_ - NetLicensing Agent base URL\n  - _NLIC_AUTH_USERNAME_ - NetLicensing username\n  - _NLIC_AUTH_PASSWORD_ - NetLicensing password\n  - _NLIC_AUTH_API_KEY_ - API Key for NetLicensing\n\n6. Install composer dependencies\n```\n$ composer install --prefer-dist\n```\n7. An application key can be generated with the command\n```\n$ php artisan key:generate\n```\n8. Execute following commands to install other dependencies\n```\n$ npm install\n$ npm run dev\n```\n\n### Run\n\nTo start the PHP built-in server\n```\n$ php artisan serve --port=8080\nor\n$ php -S localhost:8080 -t public/\n```\n\nNow you can browse the site at [http://localhost:8080](http://localhost:8080)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabs64%2Fnetlicensing-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flabs64%2Fnetlicensing-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flabs64%2Fnetlicensing-demo/lists"}