{"repo":"j7-dev/wp-react-plugin","free":true,"listed":false,"github":"https://github.com/j7-dev/wp-react-plugin","clone":"git clone https://github.com/j7-dev/wp-react-plugin.git","description":"WordPress starter template with React.js framework, support to PHP 8.0.0","language":"TypeScript","stars":37,"topics":["axios","react","rest-api","typescript","wordpress","wordpress-plugin","wordpress-rest-api","wordpressplugin","vite"],"license":"GPL-2.0","category":"api-integrations-sdks","readme_excerpt":"WP React Plugin 💻 npx create-wp-react-plugin The easiest way to develop a React base WordPress Plugin 🚧live demo 📹 demo video https://github.com/j7-dev/wp-react-plugin/assets/9213776/efb5b3ae-b8d0-408c-8e66-7e6f9e933877 ⚡Features⚡ 1. Easy to Use cd to wp-content/plugins/ in your WordPress project and npx create-wp-react-plugin , that's all the steps 🚩 we use pnpm by default for now 2. CRUD utility function Default with getPost Example, check functions and custom hooks 3. HMR (Hot Module Reload) for PHP By using vite-plugin-live-reload , the page will auto reload while PHP files changed 4. Multi-React-App in one plugin By default, we render 2 React App, 1 is for front-end page, and 1 is for admin page. You can add more React App in js/src/main.tsx 5. Plugin Update Checker Once you publish a release on Github, the user installed your plugin will receive a notification in wp-admin/plugins.php 6. Plugin Dependencies Checker Does your plugin rely on another plugin like WooCommerce, Learndash etc...? By defining the $required plugins , we can easily manage plugin dependencies. 7. 1-click release Simply type pnpm release and the command will execute a series of command in release/.release-it.cjs , like pnpm build , composer install etc..., and finally publish a release on github see more configuration in release-it --- Before getting start You MUST have nodejs v18+ and composer installed Here are tech stacks (knowledge you need to have) we used Front-end 1. Vite v5 - build tool ","default_branch":null,"files":null,"tree":[],"storefront":"/r/j7-dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/j7-dev/wp-react-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}