{"id":30228528,"url":"https://github.com/studioespresso/craft-craftnet-cp","last_synced_at":"2025-08-14T19:55:14.774Z","repository":{"id":57060614,"uuid":"147156589","full_name":"studioespresso/craft-craftnet-cp","owner":"studioespresso","description":"Very basic api.craftcms.com integration for the Craft control panel","archived":false,"fork":false,"pushed_at":"2019-03-04T18:30:17.000Z","size":45,"stargazers_count":4,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2024-04-09T13:23:38.171Z","etag":null,"topics":["craft-plugin","craft3","craftcms"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/studioespresso.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-03T05:40:13.000Z","updated_at":"2024-01-02T03:08:25.000Z","dependencies_parsed_at":"2022-08-24T14:53:32.750Z","dependency_job_id":null,"html_url":"https://github.com/studioespresso/craft-craftnet-cp","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/studioespresso/craft-craftnet-cp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studioespresso%2Fcraft-craftnet-cp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studioespresso%2Fcraft-craftnet-cp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studioespresso%2Fcraft-craftnet-cp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studioespresso%2Fcraft-craftnet-cp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/studioespresso","download_url":"https://codeload.github.com/studioespresso/craft-craftnet-cp/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studioespresso%2Fcraft-craftnet-cp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270475433,"owners_count":24590076,"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","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["craft-plugin","craft3","craftcms"],"created_at":"2025-08-14T19:55:11.549Z","updated_at":"2025-08-14T19:55:14.734Z","avatar_url":"https://github.com/studioespresso.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Craftnet CP plugin for Craft CMS 3.x\n\nBasic craftnet integration with a CP interface and command line tools. \n\nNote that I made this mostly for myself and that future development will take place if and when I need it. Issues and PR's will be handled on a best-effort basis.\n\n## Requirements\n\nThis plugin requires Craft CMS 3.0.0-beta.23 or later.\n\n## Installation\n\nTo install the plugin, follow these instructions.\n\n1. Open your terminal and go to your Craft project:\n\n        cd /path/to/project\n\n2. Then tell Composer to load the plugin:\n\n        composer require studioespresso/craftnet-cp\n\n3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Craftnet CP.\n\n## Configuring Craftnet CP\n\nYou can manage the following settings in your `craftnet-cp.php` file:\n\n- username (optional, also available as setting in CP)\n- token (optional, also available as setting in CP)\n- plugins (required, contains `handle =\u003e label` for each of your plugins.)\n- displayNotes (optional, displays notes below plugin license info)\n\n    \u003c?php return [\n        'username' =\u003e 'you@myawesomeplugins.com',\n        'token' =\u003e '5tmukfu4x2ld8xm1619oJy8klw17fvDsXsDDft8nk'\n        'plugins' =\u003e [\n            'plugin-handle' =\u003e 'Plugin Label',\n        ],\n        'displayNotes' =\u003e true\n    ];\n\n## Console Commands\n\nYou can add licenses individually or in bulk from the command line.\n\n### craftnet-cp/license/generate\n\n```\n// Generate a single license\n./craft craftnet-cp/license/generate --email=customer@company.com --plugin=my-plugin-handle \n\n// Generate a single license with more details\n./craft craftnet-cp/license/generate --email=customer@company.com --plugin=my-plugin-handle --edition=free --expirable=true --notes=\"Things to note.\" --privateNotes=\"Things to note.\"\n\n// Generate multiple licenses\n./craft craftnet-cp/license/generate --email=customer@company.com --plugin=my-plugin-handle --count=3\n```\n\n- The `edition` attribute defaults to `standard`\n- The `expirable` attribute defaults to `false`\n- The `count` attribute defaults to `1`\n\n### craftnet-cp/license/import-csv\n\nAdd licenses in bulk via a CSV file. \n\n```\n./craft craftnet-cp/license/import-csv --file=\"/path/to/file.csv\"\n```\n\nCSV files can include the following column headers:\n\n- plugin\n- email\n- count\n- edition\n- expirable\n- notes\n- privateNotes\n\n## Functionality\n\n- Generate one or more licenses for a plugin\n- List all sold and generated licenses\n\nBrought to you by [Studio Espresso](https://www.studioespresso.co)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudioespresso%2Fcraft-craftnet-cp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstudioespresso%2Fcraft-craftnet-cp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudioespresso%2Fcraft-craftnet-cp/lists"}