create-prisma-php-app 4.0.0-alpha.87 β 4.0.0-alpha.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -28
- package/dist/public/js/index.js +1 -1
- package/dist/settings/auto-swagger-docs.ts +22 -59
- package/dist/settings/bs-config.ts +20 -18
- package/dist/settings/build.ts +0 -3
- package/dist/settings/class-imports.ts +0 -11
- package/dist/settings/class-log.ts +1 -4
- package/dist/settings/component-import-checker.ts +0 -7
- package/dist/settings/files-list.ts +13 -15
- package/dist/settings/paths.php +36 -12
- package/dist/settings/project-name.ts +1 -13
- package/dist/settings/restart-mcp.ts +0 -4
- package/dist/settings/restart-websocket.ts +0 -5
- package/dist/settings/swagger-config.ts +3 -5
- package/dist/settings/utils.ts +6 -21
- package/package.json +1 -1
- package/composer.json +0 -27
- package/composer.lock +0 -884
package/README.md
CHANGED
|
@@ -1,63 +1,80 @@
|
|
|
1
1
|
# π Create Prisma PHP App
|
|
2
2
|
|
|
3
|
-
**Prisma PHP
|
|
3
|
+
**Prisma PHP** β The Next-Gen Framework Merging PHPβs Power with Prisma's ORM Mastery.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## π Introduction
|
|
8
8
|
|
|
9
|
-
`create-prisma-php-app` is a game-changing
|
|
9
|
+
`create-prisma-php-app` is a game-changing CLI tool tailored for modern PHP developers. It seamlessly merges the power of PHP with Prisma's ORM excellence, delivering an unparalleled development experience. From blazing-fast routing to dynamic component-based integration, Prisma PHP revolutionizes how you build web applications β just like Next.js and React, but with PHP's unmatched server-side power.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## β¨ Why Choose Prisma PHP?
|
|
12
14
|
|
|
13
|
-
- **Effortless Routing:** Manage complex routes with ease, supporting dynamic patterns and nested structures.
|
|
14
|
-
- **Component-Based Architecture:** Integrate reusable components effortlessly, just like React.
|
|
15
|
-
- **Flexible Integration:** Choose and integrate only the packages you need, such as:
|
|
16
|
-
- π§ **Tailwind CSS** for modern UI styling
|
|
17
|
-
- π **Swagger Docs** for powerful API documentation
|
|
18
|
-
- π **WebSocket** for real-time interactions
|
|
19
|
-
-
|
|
20
|
-
- **
|
|
21
|
-
- **
|
|
15
|
+
- β‘ **Effortless Routing:** Manage complex routes with ease, supporting dynamic patterns and nested structures.
|
|
16
|
+
- π§© **Component-Based Architecture:** Integrate reusable components effortlessly, just like React.
|
|
17
|
+
- π οΈ **Flexible Integration:** Choose and integrate only the packages you need, such as:
|
|
18
|
+
- π§ **Tailwind CSS** β for modern UI styling.
|
|
19
|
+
- π **Swagger Docs** β for powerful API documentation.
|
|
20
|
+
- π **WebSocket** β for real-time interactions.
|
|
21
|
+
- π§ **MCP (Model Context Protocol)** β for AI tool and LLM integration.
|
|
22
|
+
- π **Prisma ORM** β for robust database management.
|
|
23
|
+
- π **Out-of-the-Box Authentication:** Role-based sign-in and sign-out mechanisms ready to go.
|
|
24
|
+
- π **Advanced Caching:** Supercharge performance with built-in caching options.
|
|
25
|
+
|
|
26
|
+
---
|
|
22
27
|
|
|
23
|
-
## Quick Start
|
|
28
|
+
## βοΈ Quick Start
|
|
24
29
|
|
|
25
|
-
Creating a new Prisma PHP project is just one command away!
|
|
30
|
+
Creating a new Prisma PHP project is just one command away!
|
|
26
31
|
|
|
27
32
|
```bash
|
|
28
33
|
npx create-prisma-php-app@latest
|
|
29
34
|
```
|
|
30
35
|
|
|
31
|
-
This interactive process will prompt you for
|
|
36
|
+
This interactive process will prompt you for setup options like Tailwind CSS, Swagger, Prisma ORM, and other essential features.
|
|
37
|
+
|
|
38
|
+
Example:
|
|
32
39
|
|
|
33
40
|
```bash
|
|
34
41
|
β Would you like to use Tailwind CSS? β¦ No / Yes
|
|
42
|
+
β Would you like to use Swagger Docs? β¦ No / Yes
|
|
43
|
+
β Would you like to use MCP (Model Context Protocol)? β¦ No / Yes
|
|
44
|
+
β Would you like to use Prisma PHP ORM? β¦ No / Yes
|
|
35
45
|
```
|
|
36
46
|
|
|
37
|
-
Select "Yes" to include Tailwind CSS in your project.
|
|
38
|
-
|
|
39
47
|
## π Documentation
|
|
40
48
|
|
|
41
|
-
|
|
49
|
+
Full docs and guides available at: [https://prismaphp.tsnc.tech](https://prismaphp.tsnc.tech)
|
|
42
50
|
|
|
43
|
-
|
|
51
|
+
---
|
|
44
52
|
|
|
45
|
-
|
|
53
|
+
## π₯ Video Tutorials
|
|
46
54
|
|
|
47
|
-
|
|
55
|
+
Check out our complete step-by-step video series here:
|
|
56
|
+
[πΊ Prisma PHP YouTube Series](https://www.youtube.com/playlist?list=PLS-62wu4j8sS0Ia7ZkWHQ41W85Ice85PA)
|
|
48
57
|
|
|
49
|
-
|
|
58
|
+
---
|
|
50
59
|
|
|
51
|
-
|
|
60
|
+
## π€ Contributing
|
|
61
|
+
|
|
62
|
+
We welcome contributions! Please feel free to open issues and submit pull requests on GitHub to help improve the project.
|
|
63
|
+
|
|
64
|
+
---
|
|
52
65
|
|
|
53
66
|
## π License
|
|
54
67
|
|
|
55
|
-
|
|
68
|
+
This project is licensed under the **MIT License**.
|
|
69
|
+
|
|
70
|
+
---
|
|
56
71
|
|
|
57
72
|
## π€ Author
|
|
58
73
|
|
|
59
|
-
|
|
74
|
+
Created and maintained with β€οΈ by The Steel Ninja Code.
|
|
75
|
+
|
|
76
|
+
---
|
|
60
77
|
|
|
61
|
-
##
|
|
78
|
+
## π¬ Contact
|
|
62
79
|
|
|
63
|
-
Got questions or feedback? Reach
|
|
80
|
+
Got questions or feedback? Reach us at [thesteelninjacode@gmail.com](mailto:thesteelninjacode@gmail.com)
|