https://github.com/wp-grogu/objectpress
A PHP Library to enhance Wordpress development the Object-Oriented way. Manage PostTypes, Taxonomies, Roles, Eloquent Models, WP-CLI Commands and more using PSR-4 classes.
https://github.com/wp-grogu/objectpress
laravel object-oriented-programming php wordpress
Last synced: 3 months ago
JSON representation
A PHP Library to enhance Wordpress development the Object-Oriented way. Manage PostTypes, Taxonomies, Roles, Eloquent Models, WP-CLI Commands and more using PSR-4 classes.
- Host: GitHub
- URL: https://github.com/wp-grogu/objectpress
- Owner: WP-Grogu
- License: wtfpl
- Created: 2023-02-19T14:45:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-03T10:35:08.000Z (4 months ago)
- Last Synced: 2025-04-05T02:03:21.536Z (3 months ago)
- Topics: laravel, object-oriented-programming, php, wordpress
- Language: PHP
- Homepage:
- Size: 1.24 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: docs/README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ObjectPress
*Develop fabulous Wordpress websites using modern development tools. Yet another Wordpress framework.*
## What is this package ?
You're a single **freelance developer** or working in a **web agency**, and you're using Wordpress daily. Wordpress back-office is easy to use for your client, and you can add some plugins that brings time-consuming functionnalities into your project. **Great.**
But somehow, you feel like **Wordpress is missing something**. Where is the ORM ? Where the hell are Controllers ? Why is there procedural everywhere ? **I feel you**. But fear not, ObjectPress will help you to manage your Wordpress app the **Object-Oriented way**.
ObjectPress is highly inspired by Laravel and therefore includes `illuminate/*` packages. It introduces configuration files, easy Post types and Taxonomies declarations, the Eloquent ORM & Models and so much more.
If you're familiar with Laravel, you'll love this library !
ObjectPress also supports out of the box translation features, weither you're using [Polylang](https://polylang.wordpress.com/documentation/) or [WPML](https://wpml.org/) plugin to manage them. It also fully support Advanced Custom Fields.
**We highly recommend** using the awesome [root.io](https://roots.io) stack (Bedrock + Sage 10), that helps you in the development process of Wordpress sites using composer and a modern stack. However, ObjectPress is an agnostic library and can be used on any Wordpress installation, you only need composer to get started.
[Get started](quickstart.md) within a minute and focus on your app, the Object Driven way !## Plugin Support and Compatibility
ObjectPress is compatible with the following plugins :
#### Data
[ACF](https://www.advancedcustomfields.com)
[WPGraphql](https://github.com/wp-graphql/wp-graphql)
[WooCommerce](https://fr.wordpress.org/plugins/woocommerce/)#### Translations
[Polylang](https://polylang.wordpress.com/documentation/)
[WPML](https://wpml.org/)