@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 CHANGED
@@ -1,11 +1,13 @@
1
1
  <div align="center">
2
2
 
3
- <img src="https://raw.githubusercontent.com/artilingo/artiframe/main/assets/logo.png" alt="ArtiFrame Logo" width="180" />
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
- # ArtiFrame
5
+ <br />
6
6
 
7
7
  **Zero-dependency · Native PHP · Multilingual CLI**
8
8
 
9
+ <br />
10
+
9
11
  [![npm version](https://img.shields.io/npm/v/@artilingo/artiframe-cli?color=00c88c&style=flat-square)](https://www.npmjs.com/package/@artilingo/artiframe-cli)
10
12
  [![npm downloads](https://img.shields.io/npm/dm/@artilingo/artiframe-cli?color=58a6ff&style=flat-square)](https://www.npmjs.com/package/@artilingo/artiframe-cli)
11
13
  [![License: AGPL-3.0](https://img.shields.io/badge/License-AGPL--3.0-bc8cff?style=flat-square)](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
- for (const bin of ['php', 'php8', 'php81', 'php82', 'php83', 'php84']) {
224
- const r = spawnSync(bin, ['--version'], { encoding: 'utf8', shell: true });
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.0",
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": {