Skip to content

Commit

Permalink
Merge pull request #84 from dimitriBouteille/v2/remove-phinx
Browse files Browse the repository at this point in the history
Goodbye robmorgan/phinx
  • Loading branch information
dimitriBouteille authored Sep 23, 2024
2 parents 60a9ec7 + 28d3173 commit 300d19d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 131 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

![GitHub Release](https://img.shields.io/github/v/release/dimitriBouteille/wp-orm) [![tests](https://img.shields.io/github/actions/workflow/status/dimitriBouteille/wp-orm/tests.yml?label=tests)](https://github.com/dimitriBouteille/wp-orm/actions/workflows/tests.yml) [![Packagist Downloads](https://img.shields.io/packagist/dt/dbout/wp-orm?color=yellow)](https://packagist.org/packages/dbout/wp-orm) ![Eloquent version](https://img.shields.io/packagist/dependency-v/dbout/wp-orm/illuminate%2Fdatabase?color=orange)

> [!IMPORTANT]
> The phinx package will be removed in a future release in order to use the Laravel migration system. It is therefore advisable to stop using the tool. [More info](https://github.com/dimitriBouteille/wp-orm/issues/27).
WordPress ORM with Eloquent is a small library that adds a basic ORM into WordPress, which is easily extendable and includes models for core WordPress models such as posts, post metas, users, comments and more.
The ORM is based on [Eloquent ORM](https://laravel.com/docs/eloquent) and uses the WordPress connection (`wpdb` class).

Expand Down Expand Up @@ -39,7 +36,6 @@ This documentation only covers the specific points of this library, if you want
- [Create custom model](doc/create-model.md)
- [Generic Model](doc/create-model.md#generic-model)
- [Custom Post Type Model](doc/create-model.md#custom-post-type-model)
- [~~Migration with Phinx~~](doc/migration.md)

## Installation

Expand Down
12 changes: 4 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dbout/wp-orm",
"description": "WordPress ORM with Eloquent and Phinx.",
"description": "WordPress ORM with Eloquent.",
"type": "package",
"license": "MIT",
"authors": [
Expand All @@ -11,7 +11,7 @@
"role": "Developer"
}
],
"keywords": ["wordpress", "wp", "orm", "database", "eloquent", "db", "sql", "migration", "phinx"],
"keywords": ["wordpress", "wp", "orm", "database", "eloquent", "db", "sql", "migration"],
"homepage": "https://github.com/dimitriBouteille/wp-orm",
"support": {
"issues": "https://github.com/dimitriBouteille/wp-orm/issues",
Expand All @@ -21,17 +21,13 @@
"prefer-stable": true,
"require": {
"php": ">=8.2",
"robmorgan/phinx": "^0.12.5",
"illuminate/database": "^11.0",
"laravel/serializable-closure": "^1.3"
"laravel/serializable-closure": "^1.3",
"illuminate/database": "^11.0"
},
"suggest": {
"illuminate/events": "Add events to your models"
},
"autoload": {
"files": [
"src/includes/migrations.php"
],
"psr-4": {
"Dbout\\WpOrm\\": "src/"
}
Expand Down
55 changes: 0 additions & 55 deletions doc/migration.md

This file was deleted.

43 changes: 0 additions & 43 deletions src/Migration/Config.php

This file was deleted.

21 changes: 0 additions & 21 deletions src/includes/migrations.php

This file was deleted.

0 comments on commit 300d19d

Please sign in to comment.