-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Dimitri BOUTEILLE edited this page Nov 26, 2024
·
4 revisions
Welcome to the wp-rom 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.
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.