{"id":15528572,"url":"https://github.com/janw-me/janw-plugin-base","last_synced_at":"2026-01-24T14:14:09.519Z","repository":{"id":147242745,"uuid":"333452144","full_name":"janw-me/janw-plugin-base","owner":"janw-me","description":"Base plugin I use before starting a new plugin","archived":false,"fork":false,"pushed_at":"2025-12-27T14:46:24.000Z","size":216,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-29T10:04:49.892Z","etag":null,"topics":["starterkit","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","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/janw-me.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,"governance":null,"roadmap":"roadmap.todo","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-27T14:44:57.000Z","updated_at":"2025-12-27T14:46:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"914598ae-406f-431e-a4cf-e27db2099bac","html_url":"https://github.com/janw-me/janw-plugin-base","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/janw-me/janw-plugin-base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janw-me%2Fjanw-plugin-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janw-me%2Fjanw-plugin-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janw-me%2Fjanw-plugin-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janw-me%2Fjanw-plugin-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janw-me","download_url":"https://codeload.github.com/janw-me/janw-plugin-base/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janw-me%2Fjanw-plugin-base/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28729411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["starterkit","wordpress-plugin"],"created_at":"2024-10-02T11:14:20.834Z","updated_at":"2026-01-24T14:14:09.494Z","avatar_url":"https://github.com/janw-me.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is my starter plugin that I use for every project.\n\n# Installing\n\nClone this repo in an empty directory, remove the git and start your own git.\n\n\tgit clone git@github.com:janw-me/janw-plugin-base.git .\n\trm -rf .git\n\tgit init\n\nCheckout the [branches](https://github.com/janw-me/janw-plugin-base/branches) for features possible needed to setup.\n\n# Setup\n\nBefore actual starting there are several places that need to be renamed,\nThis will rename most things:\n\n\tmv janw-plugin-base.php your-slug.php\n\tmv languages/janw-plugin-base-nl_NL.po languages/your-slug-nl_NL.po\n\tfind ./ -type f -not -path \"./.git/*\" -exec sed -i 's/janw-plugin-base/your-slug/g' {} \\;\n\tfind ./ -type f -not -path \"./.git/*\" -exec sed -i 's/JANW_PLUGIN_BASE/YOUR_SLUG/g' {} \\;\n\tfind ./ -type f -not -path \"./.git/*\" -exec sed -i 's/Janw\\\\Plugin_Base/Your\\\\Slug/g' {} \\;\n\n- `composer.json`\n\t- name (the user should probably change)\n  \t- description\n\t- packages (yes please double check)\n- `readme.txt`\n\t- line 1: with plugin title\n- `.phpcs.xml.dist`\n\t- prefixes\n\t- text_domain\n- `janw-plugin-base.php`\n    - rename file (should have been done automatically)\n    - Check all _plugin headers_\n- Plugin wide seach-replace\n\t- Constants: _JANW_PLUGIN_BASE_\n\t- Namespace \u0026 Package: _Janw\\Plugin_Base_\n- clear this section and the install section.\n\n## Change php version\nDefault is set to 8.2, to update it change:\n\n- `janw-base-plugin.php`\n- `composer.json` (2 places)\n- `.phpcs.xml.dist`\n- `readme.txt`\n- `phpstan.neon.dist`\n- `phpcs-fixer.dist.php`\n\n## Change WP version\nThe default is 6.6, to update is change:\n\n- `janw-base-plugin.php`\n- `.phpcs.xml.dist`\n- `readme.txt`\n\n# Bundled commands\n\nInside composer several extra tools have been added:\n\nCode formatting:\n- `composer run phpcbf`                  Run the phpcbf, an autoformatter.\n- `composer run phpcs`                   Run phpcs, Checks style and syntax agianst theh WordPress coding stadard.\n- `composer run lint`                    Run php linter, Checks syntax.\n- `composer run phpstan`                 Run phpstan, Checks styntax, docblock, non existing functions/classes.\n- `composer run ci`                      Run all the above syntax checkers at once.\n\nCreating plugin zip:\n- `composer run createzip`               Will create a zip named 'plugin-slug.zip' in the plugin folder.\n- `composer run createzip-in-downloads`  Will create a zip named 'plugin-slug-0.1.0.zip' in the plugin folder.\n- `composer run createzip-with-version`  Will create a zip named 'plugin-slug-0.1.0.zip' in the Downloads folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanw-me%2Fjanw-plugin-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanw-me%2Fjanw-plugin-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanw-me%2Fjanw-plugin-base/lists"}