Skip to content

Commit

Permalink
📖 DOC: Version changes to 0.2.0 and composer namespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ManiruzzamanAkash committed Jul 30, 2022
1 parent eb6297e commit 3139df6
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 16 deletions.
67 changes: 54 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# wp-react-kit
A simple starter kit to work in WordPress with WP-script, React, React Router, Tailwind CSS, PostCSS, Eslint, i18n easily in a minute.
A simple starter kit to work in WordPress with WP-script, React, React Router, Tailwind CSS, PostCSS, Eslint, i18n, PHP OOP plugin architecture easily in a minute.

----

Expand Down Expand Up @@ -41,41 +41,82 @@ Or, it could be your custom processed URL.
vendor/bin/phpcs .
```

**Or, get specific file errors of the project:**
**Fix all errors of the project:**
```sh
vendor/bin/phpcs job-place.php
vendor/bin/phpcbf .
```

**Fix all errors of the project:**
<details>
<summary>Options for specific files:</summary>

**Get specific file errors of the project:**
```sh
vendor/bin/phpcbf .
vendor/bin/phpcs job-place.php
```

**Or, fix specific file errors of the project:**

**Fix specific file errors of the project:**
```sh
vendor/bin/phpcbf job-place.php
```
</details>


### Versions
1. Simple Version with raw PHP - https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vSimple
<details>
<summary>Simple Version with raw PHP</summary>

https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vSimple
</details>

<details>
<summary>Version with EsLint and i18n Setup</summary>

File structure:
https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vSimpleEslint
</details>

![Demo Version](https://i.ibb.co/3fmYfks/wp-react-kit-simple-version.png "Demo in Simple Version")

2. Version with EsLint and i18n Setup - https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vSimpleEslint
<details>
<summary>Version with EsLint, i18n and React Router Setup</summary>

3. Version with EsLint, i18n and React Router Setup - https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vReactRouter
https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vReactRouter
</details>

<details>
<summary>Version with PostCSS and Tailwind CSS Setup</summary>

4. Version with PostCSS and Tailwind CSS Setup -
https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vTailwindCss
</details>

<details>
<summary>Version with PHPCS setup</summary>

5. Version with PHPCS setup -
https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vPHPCS
</details>

<details>
<summary>Version with PHP OOP Architecture</summary>

https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vPhpOOP
</details>



### File structure:
<details>
<summary>Simple Version Code-Structure:</summary>

![Simple Version](https://i.ibb.co/3fmYfks/wp-react-kit-simple-version.png "Demo in Simple Version")
</details>

### Demo with Simple Version

<details>
<summary>Demo in WordPress plugin:</summary>

![Demo Plugin](https://i.ibb.co/NpVYrxN/wp-react-kit.png "Demo in WordPress plugin")
</details>


### Demo With React Router & Menu

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"autoload": {
"psr-4": {
"Akash\\Jobplace\\": "includes/"
"Akash\\JobPlace\\": "includes/"
}
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jobplace",
"version": "1.0.0",
"description": "A Job posting platform made by WordPress",
"version": "0.2.0",
"description": "A Job posting platform made by WordPress and best architectures",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down

0 comments on commit 3139df6

Please sign in to comment.