-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Dimitri BOUTEILLE edited this page Jan 16, 2025
·
5 revisions
Welcome to the wp-orm wiki !
This documentation only covers the specific points of this library, if you want to know more about Eloquent, the easiest is to look at the documentation of Eloquent.
Documentation
Requirements
The server requirements are basically the same as for WordPress with the addition of a few ones :
- PHP >= 8.2
- Composer
Installation
You can use Composer. Follow the installation instructions if you do not already have composer installed.
composer require dbout/wp-orm
In your PHP script, make sure you include the autoloader:
require __DIR__ . '/vendor/autoload.php';
🎉 You have nothing more to do, you can use the library now! Not even need to configure database accesses because it's the wpdb
connection that is used.
💕 🦄 Contributions are most welcome so feel free to reach out, post issues and / or propose improvements.