@artilingo/artiframe-cli 1.1.0 → 1.1.1
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 +4 -2
- package/assets/banner.jpg +0 -0
- package/assets/profile.png +0 -0
- package/bin/artiframe.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
<img src="https://raw.githubusercontent.com/
|
|
3
|
+
<img src="https://raw.githubusercontent.com/utkuthecoder/artiframe-cli/refs/heads/main/assets/banner.jpg" alt="ArtiFrame - Open Sourced PHP Framework" width="100%" />
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<br />
|
|
6
6
|
|
|
7
7
|
**Zero-dependency · Native PHP · Multilingual CLI**
|
|
8
8
|
|
|
9
|
+
<br />
|
|
10
|
+
|
|
9
11
|
[](https://www.npmjs.com/package/@artilingo/artiframe-cli)
|
|
10
12
|
[](https://www.npmjs.com/package/@artilingo/artiframe-cli)
|
|
11
13
|
[](https://www.gnu.org/licenses/agpl-3.0)
|
|
Binary file
|
|
Binary file
|
package/bin/artiframe.js
CHANGED
|
@@ -220,8 +220,9 @@ async function handleVersion() {
|
|
|
220
220
|
|
|
221
221
|
// ── PHP availability check ──────────────────────────────────────
|
|
222
222
|
function findPhp() {
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
const bins = ['php', 'php8', 'php8.1', 'php8.2', 'php8.3', 'php8.4', 'php81', 'php82', 'php83', 'php84'];
|
|
224
|
+
for (const bin of bins) {
|
|
225
|
+
const r = spawnSync(bin, ['--version'], { encoding: 'utf8', shell: false });
|
|
225
226
|
if (r.status === 0) return bin;
|
|
226
227
|
}
|
|
227
228
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artilingo/artiframe-cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "ArtiFrame — Zero-dependency native PHP framework with a powerful multilingual CLI. Scaffold projects, generate views, APIs and classes instantly.",
|
|
5
5
|
"main": "bin/artiframe.js",
|
|
6
6
|
"bin": {
|