Skip to content

Commit 3139df6

Browse files
📖 DOC: Version changes to 0.2.0 and composer namespace changes
1 parent eb6297e commit 3139df6

File tree

3 files changed

+57
-16
lines changed

3 files changed

+57
-16
lines changed

README.md

Lines changed: 54 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# wp-react-kit
2-
A simple starter kit to work in WordPress with WP-script, React, React Router, Tailwind CSS, PostCSS, Eslint, i18n easily in a minute.
2+
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.
33

44
----
55

@@ -41,41 +41,82 @@ Or, it could be your custom processed URL.
4141
vendor/bin/phpcs .
4242
```
4343

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

49-
**Fix all errors of the project:**
49+
<details>
50+
<summary>Options for specific files:</summary>
51+
52+
**Get specific file errors of the project:**
5053
```sh
51-
vendor/bin/phpcbf .
54+
vendor/bin/phpcs job-place.php
5255
```
5356

54-
**Or, fix specific file errors of the project:**
57+
58+
**Fix specific file errors of the project:**
5559
```sh
5660
vendor/bin/phpcbf job-place.php
5761
```
62+
</details>
63+
5864

5965
### Versions
60-
1. Simple Version with raw PHP - https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vSimple
66+
<details>
67+
<summary>Simple Version with raw PHP</summary>
68+
69+
https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vSimple
70+
</details>
71+
72+
<details>
73+
<summary>Version with EsLint and i18n Setup</summary>
6174

62-
File structure:
75+
https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vSimpleEslint
76+
</details>
6377

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

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

68-
3. Version with EsLint, i18n and React Router Setup - https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vReactRouter
82+
https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vReactRouter
83+
</details>
84+
85+
<details>
86+
<summary>Version with PostCSS and Tailwind CSS Setup</summary>
6987

70-
4. Version with PostCSS and Tailwind CSS Setup -
7188
https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vTailwindCss
89+
</details>
90+
91+
<details>
92+
<summary>Version with PHPCS setup</summary>
7293

73-
5. Version with PHPCS setup -
7494
https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vPHPCS
95+
</details>
96+
97+
<details>
98+
<summary>Version with PHP OOP Architecture</summary>
99+
100+
https://github.com/ManiruzzamanAkash/wp-react-kit/releases/tag/vPhpOOP
101+
</details>
102+
103+
104+
105+
### File structure:
106+
<details>
107+
<summary>Simple Version Code-Structure:</summary>
108+
109+
![Simple Version](https://i.ibb.co/3fmYfks/wp-react-kit-simple-version.png "Demo in Simple Version")
110+
</details>
75111

76112
### Demo with Simple Version
77113

114+
<details>
115+
<summary>Demo in WordPress plugin:</summary>
116+
78117
![Demo Plugin](https://i.ibb.co/NpVYrxN/wp-react-kit.png "Demo in WordPress plugin")
118+
</details>
119+
79120

80121
### Demo With React Router & Menu
81122

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"autoload": {
2828
"psr-4": {
29-
"Akash\\Jobplace\\": "includes/"
29+
"Akash\\JobPlace\\": "includes/"
3030
}
3131
},
3232
"scripts": {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jobplace",
3-
"version": "1.0.0",
4-
"description": "A Job posting platform made by WordPress",
3+
"version": "0.2.0",
4+
"description": "A Job posting platform made by WordPress and best architectures",
55
"main": "index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",

0 commit comments

Comments
 (0)