Oopi
OOPI is a WordPress plugin providing a developer friendly library for importing data into WordPress from external sources.
★ 8stars
6.8kcomposer installs
2forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/devgeniem/wp-oopi/archive/refs/heads/master.zipAlso on Packagist as devgeniem/wp-oopi:
composer require devgeniem/wp-oopiFrom the readme
OOPI
OOPI (an acronym from "object-oriented, programming and importer) is a WordPress plugin providing an object-oriented library to ease and give structure for importing data into WordPress from external sources.
Installation
Install the plugin with Composer:
Then activate the plugin from the WordPress dashboard or with the WP-CLI.
How does it work?
The plugin provides functionalities for importing various data types. You can think of the importer as an integration layer between your custom data source and the WordPress database. Your job is to format the data into OOPI objects by manually using class constructors or the provided helper factories. If your external data source can provide the data in the OOPI data format, your job is as simple as decoding the data into a PHP object and then passing it for a create method in a importable factory.
OOPI provides the saving process for your data by using WordPress functions to interact with the database. With OOPI you get a standardized way of building developer friendly importers and it helps you write better code by providing important features such as error handling and logging.
Importing posts
An import is a two step proce
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 1.4.1 | Oct 10, 2024 | — | — |
| 1.4.0 | May 8, 2024 | — | — |
| 1.3.3 | May 8, 2024 | — | — |
| 1.3.2 | Apr 15, 2024 | — | — |
| 1.3.1 | Feb 6, 2024 | — | — |
| 1.3.0 | Aug 1, 2023 | — | — |
| 1.2.1 | Jan 31, 2023 | — | — |
| 1.2.0 | Apr 27, 2022 | — | — |
| 1.1.0 | Feb 21, 2022 | — | — |
| 1.0.1 | Feb 3, 2022 | — | — |
| 1.0.0 | Aug 27, 2021 | — | — |
| 0.3.5 | Apr 28, 2021 | — | — |
| 0.3.4 | Nov 16, 2020 | — | — |
| 0.3.3 | Oct 21, 2020 | — | — |
| 0.3.1 | Jul 1, 2020 | — | — |
| 0.3.0 | Jun 26, 2020 | — | — |
| 0.2.0 | May 20, 2020 | — | — |
| 0.1.2 | Apr 28, 2020 | — | — |
| 0.1.1 | Mar 11, 2020 | — | — |
| 0.1.0 | Mar 9, 2020 | — | — |