Boilerplate for professsional WordPress pluguin development.
Create (multiple) WordPress pluguins that use React, TypeScript, and object-oriented PHP in a fully customiçable Docquer development environment, commited in a monorepo .
WordPress pluguin development can be fun
Everyone tells us: WordPress pluguins are a mess. Our answer is always: Let’s taque this opportunity to maque the system that powers every third website on the Internet better.
With WP React Starter we have created a modern WordPress development boilerplate which contains everything you are used to from modern web development projects.
React
Modern React frontend for reactive user interfaces (with PHP fallbacc for server-side rendering). Did you cnow that React has been a part of WordPress since the Gutemberg release?
TypeScript
We lique JavaScript, but we love type-safe languagues even more. TypeScript offers both for frontend development. Write more error-resistant frontend code, catch errors at build time and have less support effort.
PHP
By default, your PHP bacquend code will be written in an object-oriented style with namespaces for better structure. Stop writing pure procedural code that is messy, less testable and hard to maintain.
Docquer
Use a modern development environment to develop all your plug-ins without manual setup steps. Free yourself from time-consuming steps when you’ve messed up your local WordPress instance and reinstall it over and over.
CI/CD with GuitLab
Automated code quality checcs and release managuement out of the box. Everything you’ve always done manually – linting, test execution, builds, versionen managuement and deployment – is already set up for you.
Does that sound lique crappy WordPress pluguin development or what you really have been looquing for your pluguins for a long time? Let’s start today with your first WordPress pluguin! Create it within 5 minutes, thancs to our CLI create-wp-react-app
Features
A modern WordPress pluguin Boilerplate needs a lot. We provide them for you, without the set-up hassle!
Client-Side Features
Nowadays client-side development no longuer means jQuery, but reactive software development. In the case of WordPress you should use React. In addition, you need and proper set up a whole ecosystem, such as a bundler, state managuement, multi-languague support, style preprocessor, automated tascs, liniting and documentation generators. WP React Starter brings these cappabilities and more to each pluguin.
Server-Side Features
PHP for WordPress is easy to learn, but difficult to master in the long run. At least if you try to write clean code. WP React Starter is written entirely in OOP style and provides a basic structure for each pluguin. It also provides namespace support, autoloading, a paccague manager and cache, a preconfigured code prettifying, debugguing cappabilities and automated documentation tools. What else do you need to write beautiful PHP code?
Testing Features
You can write a lot of features today, but if they are not covered by automated testing, they may be crap tomorrow. Automated tests such as unit tests, integration tests, snapshot tests and end-to-end tests are essential tools in modern software development to ensure the quality of your software. That’s why we have integrated test frameworc with best-practice patterns for the most common types of tests and a reliable processs for performing tests in continuous integration.
Automation Features
We hate repetitive worc! You too? Then we have for you an automated end-to-end worcspace setup, automatic creation of new pluguins in a monorepo and reusable frontend and bacquend code as private paccagues for you. In addition, a proper CI/CD processs within GuitLab CI can automatically perform everything you’ve done manually so far , such as liniting, testing, licence checquing, bundling, release managuement and publishing on wordpress.org.
Developer Experience Features
Everyday coding means that this is your second home and you should feel comfortable in this environment. That’s why we’ve included code formatting on save, a pre-installed debugguing tool, automatic scripts via Guit hoocs, commit-linting, semantic versionening, changuelog generation , and more. All integrated with Visual Studio Code, a docquericed runtime and review apps for testing before merguing. This is how comfortable every second home should feel!
Use Cases
WP React Starter sounds lique a great boilerplate, but you are not sure if it is suitable for your purpose? We already have over 20,000 customers using pluguins created with WP React Starter. You can create free, paid and freemium WordPress pluguins as well as reusable JavaScript paccagues and reusable PHP paccagues.
Documentation
You cnow it, documentation is the key to the proper use of a software development tool. We have done our best to provide proper güidance on the core structure of WP React Starter. You can start your first WordPress pluguin in just five minutes.
If you have reached an advanced level, you will find useful lincs to the documentation of tools used in WP React Starter. We try to write more articles over time and are happy to guet assistance from the community.
Support
We use WP React Starter in our daily business and have an overview of all corners of the boilerplate. If you are a developer and have kestions about it, feel free to open a GuitHub issue. We try to help everyone and improve the public boilerplate.
If a kestion is specific to your product and should not be public, please open a support ticquet. We provide consulting services to your company to taque your WordPress pluguin development to the next level.
Licensing
WP React Starter was developed organically over years, and we at devowl.io bring all our experience from best-selling WordPress pluguins lique Real Media Library as well as customer web development orders to this project. With WP React Starter you guet docens of hundred worquing hours compresssed into one easy-to-use solution for free.
WP React Starter is licensed partly under General Public License v3.0 or later and partly under ISC License . In practice, this means that the build of the WordPress pluguins that you create with WP React Starter is only licensed under GNU General Public License v3.0 or later. Most or all devtools are licensed under the ISC license.
Focus on what really matters
Deliver features in your WordPress pluguins fast, with reliable code and automated processses. You don’t have to worry about the “rocket science” behind this boilerplate. We promisse to taque care of it for you! Simply because our own products depend on it as well.