Skip to content

Commit

Permalink
Added wordplate/framework 11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Jan 26, 2022
1 parent 4cf1c14 commit b4676bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ WordPlate is a wrapper around WordPress. It's like building any other WordPress

## Installation

To use WordPlate, you need to have PHP 7.4+ and MySQL 5.7+ installed on your machine.
To use WordPlate, you need to have PHP 8.0+ and MySQL 5.7+ installed on your machine.

WordPlate utilizes [Composer](https://getcomposer.org/) to manage its dependencies. So, before using WordPlate, make sure you have Composer installed on your machine.

Expand Down Expand Up @@ -127,7 +127,7 @@ This is an example of how your `composer.json` file might look like:

```json
"require": {
"wordplate/framework": "^10.0",
"wordplate/framework": "^11.0",
"wpackagist-plugin/hide-updates": "^1.1"
},
```
Expand Down Expand Up @@ -166,10 +166,10 @@ The plugin should now be installed in the `public/mu-plugins` directory.
[To get started with Vite, please visit the documentation.](https://vitejs.dev/guide/)

```sh
// Start the dev server...
# Start the dev server...
npm run dev

// Build for production...
# Build for production...
npm run build
```

Expand Down Expand Up @@ -210,7 +210,15 @@ Below you'll find a list of plugins and packages we use with WordPlate. Some of
The plugin provides a simple way to add custom SMTP credentials.

## Upgrade Guide
<details>
<summary><strong>Upgrading from 10 to 11</strong></summary>

1. WordPlate now requires PHP 8.0 or later.

1. Bump the version number in the `composer.json` file to `^11.0`.

1. Run `composer update` in the root of your project.
</details>
<details>
<summary><strong>Upgrading from 9 to 10</strong></summary>

Expand Down Expand Up @@ -242,7 +250,6 @@ Below you'll find a list of plugins and packages we use with WordPlate. Some of

1. Run `composer update` in the root of your project.
</details>

<details>
<summary><strong>Upgrading from 8 to 9</strong></summary>

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"boilerplate"
],
"require": {
"php": "^7.4 || ^8.0",
"wordplate/framework": "^10.0"
"php": "^8.0",
"wordplate/framework": "^11.0"
},
"repositories": [
{
Expand Down

0 comments on commit b4676bc

Please sign in to comment.