{"id":21049439,"url":"https://gitlab.com/MarleyPlant/plantekloader","last_synced_at":"2025-05-15T19:32:55.583Z","repository":{"id":50708305,"uuid":"36815148","full_name":"MarleyPlant/plantekloader","owner":"MarleyPlant","description":"Composer Library for creating WordPress Plugin Loaders, Enables Plugin Updates, Licensing and Dependency Checking and may already be powering one of the plugins you use.","archived":false,"fork":false,"pushed_at":null,"size":null,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":null,"default_branch":"main","last_synced_at":"2025-04-03T14:39:54.127Z","etag":null,"topics":["composer","csv","framework","wordpress"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":false,"icon_url":"https://gitlab.com/uploads/-/system/project/avatar/36815148/braces-fill.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-06-07T09:46:39.478Z","updated_at":"2023-11-03T23:24:13.613Z","dependencies_parsed_at":"2022-09-09T14:00:34.460Z","dependency_job_id":null,"html_url":"https://gitlab.com/MarleyPlant/plantekloader","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/MarleyPlant%2Fplantekloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/MarleyPlant%2Fplantekloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/MarleyPlant%2Fplantekloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories/MarleyPlant%2Fplantekloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners/MarleyPlant","download_url":"https://gitlab.com/MarleyPlant/plantekloader/-/archive/main/plantekloader-main.zip","host":{"name":"gitlab.com","url":"https://gitlab.com","kind":"gitlab","repositories_count":4518952,"owners_count":6979,"icon_url":"https://github.com/gitlab.png","version":null,"created_at":"2022-05-30T11:31:42.605Z","updated_at":"2024-07-18T11:24:13.055Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/gitlab.com/owners"}},"keywords":["composer","csv","framework","wordpress"],"created_at":"2024-11-19T15:12:13.947Z","updated_at":"2025-05-15T19:32:54.817Z","avatar_url":"https://gitlab.com/uploads/-/system/project/avatar/36815148/braces-fill.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align='center'\u003e\r\n    \u003ch1\u003e\u003cb\u003e🔌 Plantek Loader 🔌\u003c/b\u003e\u003c/h1\u003e\r\n    \u003cimg src='https://marleyplant.com/wp-content/uploads/2023/11/Logo-Dark-1.png'  /\u003e\r\n    \u003cp\u003eComposer Library for creating WordPress Plugin Loaders, Enables Plugin Updates, Licensing and Dependency Checking and may already be powering one of the plugins you use.\u003c/p\u003e\r\n\r\n\u003c/div\u003e\r\n\r\n---\r\n\r\n## 💾 **ABOUT**\r\n\r\nComposer Library for creating WordPress Plugin Loaders, Enables Plugin Updates, restricting plugin to users that have not got a valid license and Dependency Checking.\r\n\u003cbr /\u003e\r\n\r\n---\r\n\r\n## 🗒️ **USAGE**\r\n\r\n### Basic Plugin Loader:\r\n\r\n```php\r\nrequire_once 'vendor/autoload.php';\r\n\r\nclass ExampleLoader extends PlantekPluginLoader\r\n{\r\n    /**\r\n     * Return the Plugin Name for PlantekPluginLoader to Handle\r\n     *\r\n     * @return string\r\n     */\r\n    public function pluginName()\r\n    {\r\n        return 'ExamplePlugin';\r\n    }\r\n\r\n    /**\r\n     * Return a list of dependencies for the Plugin loader\r\n     * For Example, Advanced Custom Fields\r\n     *\r\n     * @return array\r\n     */\r\n    public function getDependencies()\r\n    {\r\n        return [];\r\n    }\r\n\r\n    /**\r\n     * Get Licenser Settings\r\n     *\r\n     * @return array\r\n     */\r\n    public function getLicenserOptions()\r\n    {\r\n        return [\r\n            \"enabled\" =\u003e false,\r\n        ];\r\n    }\r\n\r\n    /**\r\n     * Get Updater Settings\r\n     *\r\n     * @return array\r\n     */\r\n    public function getUpdaterOptions()\r\n    {\r\n        return [\r\n            'name' =\u003e 'ExamplePlugin',\r\n            'repository' =\u003e 'https://gitlab.com/MarleyPlant/ExamplePlugin',\r\n            'branch' =\u003e 'master',\r\n            'pluginFile' =\u003e __FILE__\r\n        ];\r\n    }\r\n\r\n    /**\r\n     * Initialize the plugins core\r\n     *\r\n     * @return void\r\n     */\r\n    public function init()\r\n    {\r\n        include_once 'plugin.php';\r\n    }\r\n}\r\n\r\nadd_action('plugins_loaded', function () {\r\n    $loader = new PlantekElementorLibraryLoader();\r\n});\r\n```\r\n\r\n\u003cbr/\u003e\r\n\r\n\r\n## 💻 **TECHNOLOGIES**\r\n\r\n![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?style=for-the-badge\u0026logo=html5\u0026logoColor=white)\r\n![PHP](https://img.shields.io/badge/php-%23777BB4.svg?style=for-the-badge\u0026logo=php\u0026logoColor=white)\r\n\r\n\u003cbr /\u003e\r\n\r\n---\r\n\r\n## 📎 **LICENSE**\r\n\r\nCopyright 2023 Marley Plant\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n   http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n\r\n\u003cbr /\u003e\r\n\r\n---\r\n\r\n## 📌 **LINKS**\r\n\r\n[\u003cimg alt=\"Gitlab\" src=\"https://img.shields.io/badge/MarleyPlant-%23181717.svg?style=for-the-badge\u0026logo=gitlab\u0026logoColor=white\" /\u003e](https://gitlab.com/MarleyPlant)\r\n\r\n\u003cbr /\u003e\r\n\r\n---\r\n\r\n## 📁 **Related Projects**\r\n\r\n- [License Manager For Woocommerce](https://github.com/wpexpertsio/license-manager-for-woocommerce)\r\n- [otakupahp/sdk-license-manager-for-woocommerce](https://github.com/otakupahp/sdk-license-manager-for-woocommerce)\r\n- [yahnis-elsts/plugin-update-checker\"](https://marleypant.com)\r\n- [htmlburger/carbon-fields](https://docs.carbonfields.net/)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2FMarleyPlant%2Fplantekloader","html_url":"https://awesome.ecosyste.ms/projects/gitlab.com%2FMarleyPlant%2Fplantekloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gitlab.com%2FMarleyPlant%2Fplantekloader/lists"}