{"id":17487706,"url":"https://github.com/flowdee/pretty-code","last_synced_at":"2025-07-02T22:37:41.267Z","repository":{"id":82443881,"uuid":"122695976","full_name":"flowdee/pretty-code","owner":"flowdee","description":"Pretty Code","archived":false,"fork":false,"pushed_at":"2018-02-24T05:04:48.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-28T15:48:28.324Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flowdee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-24T02:42:54.000Z","updated_at":"2018-02-24T02:56:13.000Z","dependencies_parsed_at":"2023-06-15T17:30:26.684Z","dependency_job_id":null,"html_url":"https://github.com/flowdee/pretty-code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flowdee/pretty-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowdee%2Fpretty-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowdee%2Fpretty-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowdee%2Fpretty-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowdee%2Fpretty-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flowdee","download_url":"https://codeload.github.com/flowdee/pretty-code/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowdee%2Fpretty-code/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263228303,"owners_count":23433970,"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":[],"created_at":"2024-10-19T03:43:18.674Z","updated_at":"2025-07-02T22:37:41.211Z","avatar_url":"https://github.com/flowdee.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Plugin Boilerplate\n\nHere you can find the boilerplate I created and personally use in order to develop Open Source and premium WordPress plugins.\n\n## Features\n\n* Solid and tested base for plugin development \n* Integrated grunt workflow supporting LESS and JS compiling, text-domain checker (optional)\n* Scripts: Loading CSS \u0026 JS files on your admin settings page \u0026 frontend\n* Settings: Prepared settings page including a handful example fields\n* Plugin Links: Prepared link to settings page and a custom URL via the plugins overview page\n* Ready for translations\n\n## Setup\n\n### Placeholders\n\nDue to the fact that I used placeholder names, prefixes and labels, you update some text strings and file names. Let's assume your plugin will be called \"Jumping Donut\":\n\n* Search for: `Plugin Name` and replace with: `Jumping Donut`\n* Search for: `Pretty_Code` and replace with: `Jumping_Donut`\n* Search for: `PRETTY_CODE` and replace with: `JUMPING_DONUT`\n* Search for: `pretty_code` and replace with: `jumping_donut`\n* Search for: `pretty-code` and replace with: `jumping-donut`\n* Search for: `plugin_prefix` and replace with: `jd_` _(This will be used for prefixing functions and I suggest using an unique and shorter one)_\n\nAdditionally please take a look into the plugin files and replace those as well:\n* Search for: `pretty-code` and replace with: `jumping-donut`\n\n_In case I missed some placeholders, please gimme a shout._\n\n### Assets (CSS \u0026 Javascript)\n\n#### Variant 1: Grunt (LESS, Uglify etc.)\nIn case you want to use the grunt workflow simply execute the following commands via your console:\n\n``` php\n// Installing dependencies\nnpm install\n\n// Run watcher while developing and updating less/js files\nnpm watch\n\n// Finish the work and generating the zip file of the plugin\nnpm finish\n```\n\n#### Variant 2: Default editing\nIf you don't want to use grunt, just edit the CSS/JS files under `/pretty-code/assets/...` on your own.\n\n### Credits\n\nThis WordPress Plugin Boilerplate was developed by [flowdee](http://flowdee.de/). \n\nYou like my work? [Support me](https://donate.flowdee.de/) or not. I don't mind, as long as I was able to help you :wink:","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowdee%2Fpretty-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflowdee%2Fpretty-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowdee%2Fpretty-code/lists"}