{"id":15538199,"url":"https://github.com/jrtashjian/pluginwp","last_synced_at":"2025-04-23T15:24:01.975Z","repository":{"id":58180878,"uuid":"529431229","full_name":"jrtashjian/pluginwp","owner":"jrtashjian","description":"WordPress plugin boilerplate using React and Block Editor components.","archived":false,"fork":false,"pushed_at":"2023-04-29T18:06:30.000Z","size":2132,"stargazers_count":7,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-09T12:08:59.175Z","etag":null,"topics":["wordpress","wordpress-plugin-boilerplate"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jrtashjian.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-26T23:30:39.000Z","updated_at":"2023-09-07T00:39:28.000Z","dependencies_parsed_at":"2025-03-05T23:30:53.211Z","dependency_job_id":null,"html_url":"https://github.com/jrtashjian/pluginwp","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrtashjian%2Fpluginwp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrtashjian%2Fpluginwp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrtashjian%2Fpluginwp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrtashjian%2Fpluginwp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jrtashjian","download_url":"https://codeload.github.com/jrtashjian/pluginwp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250458278,"owners_count":21433836,"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":["wordpress","wordpress-plugin-boilerplate"],"created_at":"2024-10-02T12:02:31.179Z","updated_at":"2025-04-23T15:24:01.954Z","avatar_url":"https://github.com/jrtashjian.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build and Test](https://github.com/jrtashjian/pluginwp/actions/workflows/build-and-test.yml/badge.svg?branch=master)](https://github.com/jrtashjian/pluginwp/actions/workflows/build-and-test.yml)\n\n# PluginWP Foundation\n\n🚧 [**UNDER DEVELOPMENT**](https://github.com/jrtashjian/pluginwp/issues/1) 🚧\n\nThis code serves as a starting point for building a WordPress plugin using React and the [block editor components](https://github.com/WordPress/gutenberg/tree/trunk/packages). I also wanted to build WordPress plugins in a more modern PHP way by introducing a portion of the [Service Container](https://laravel.com/docs/8.x/container) and [Service Providers](https://laravel.com/docs/8.x/providers) that are used in the [Laravel framework](https://laravel.com/).\n\n## Installation\n\n### Requirements\n\n- [Node.js](https://nodejs.org)\n- [Composer](https://getcomposer.org)\n\n### Quick Start\n\nClone this repository or click [Use this template](https://github.com/jrtashjian/pluginwp/generate) on to create a new project on GitHub.\n\n```\ngit clone https://github.com/jrtashjian/pluginwp.git yourpluginslug\n```\n\nSearch for `PluginWP Author` and replace with `Actual Author Name`\n```\nfind . -type f -not -path \"./.git/*\" -exec sed -i 's/PluginWP Author/Actual Author Name/g' {} +\n```\n\nSearch for `PluginWP` and replace with `YourPluginSlug`\n```\nfind . -type f -not -path \"./.git/*\" -exec sed -i 's/PluginWP/YourPluginSlug/g' {} +\n```\n\nSearch for `pluginwp` and replace with `yourpluginslug`\n```\nfind . -type f -not -path \"./.git/*\" -exec sed -i 's/pluginwp/yourpluginslug/g' {} +\n```\n\nFinally, rename the main plugin file `pluginwp.php` to `yourpluginslug.php`.\n\n### Setup\n\nInstall the necessary Node.js and Composer dependencies:\n\n```\n$ composer install\n$ npm install\n```\n\n### Available CLI commands\n\n- `composer lint` : checks all PHP files for syntax errors.\n- `composer format` : fixes all automatically fixable syntax errors.\n- `npm run wp-env` : exposes all commands available in [`@wordpress/env`](https://github.com/WordPress/gutenberg/tree/wp/6.0/packages/env)\n- `npm run build` : compiles all scripts and styles for distribution.\n- `npm run dev` : compiles all scripts and styles for development.\n\nNow go build something!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrtashjian%2Fpluginwp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrtashjian%2Fpluginwp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrtashjian%2Fpluginwp/lists"}