@artilingo/artiframe-cli 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +237 -0
  2. package/package.json +2 -1
package/README.md ADDED
@@ -0,0 +1,237 @@
1
+ <div align="center">
2
+
3
+ <img src="https://raw.githubusercontent.com/artilingo/artiframe/main/assets/logo.png" alt="ArtiFrame Logo" width="180" />
4
+
5
+ # ArtiFrame
6
+
7
+ **Zero-dependency · Native PHP · Multilingual CLI**
8
+
9
+ [![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
+ [![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
+ [![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)
12
+ [![PHP: >=8.1](https://img.shields.io/badge/PHP-%3E%3D8.1-777bb4?style=flat-square&logo=php&logoColor=white)](https://www.php.net)
13
+
14
+ </div>
15
+
16
+ ---
17
+
18
+ <div align="center">
19
+
20
+ [🇹🇷 Türkçe](#-türkçe) · [🇬🇧 English](#-english) · [🇩🇪 Deutsch](#-deutsch) · [🇫🇷 Français](#-français) · [🇪🇸 Español](#-español)
21
+
22
+ </div>
23
+
24
+ ---
25
+
26
+ ## 🇹🇷 Türkçe
27
+
28
+ **ArtiFrame**, sıfır dış bağımlılık felsefesiyle inşa edilmiş, native PHP için modern bir web geliştirme çerçevesidir. Composer paket karmaşasından arınmış, güvenlik öncelikli ve CLI güdümlü bir ekosistem sunar.
29
+
30
+ ### Özellikler
31
+
32
+ - 🚫 **Sıfır Bağımlılık** — Composer paketlerine ihtiyaç yok, her satır kendi kodunuz
33
+ - 🛡️ **Güvenlik Önce** — XSS, CSRF, SQL Injection koruması varsayılan olarak yerleşik
34
+ - ⚡ **Hızlı Kurulum** — Tek komutla eksiksiz proje iskeleti
35
+ - 🌍 **5 Dil Desteği** — TR · EN · DE · FR · ES
36
+ - 📐 **Katı Kural Seti** — `data-js` mimarisi, iki bootstrapper modeli, tutarlı dizin yapısı
37
+
38
+ ### Kurulum
39
+
40
+ > PHP 8.1 veya üzeri gereklidir.
41
+
42
+ ```bash
43
+ npm install -g @artilingo/artiframe-cli
44
+ ```
45
+
46
+ ### Kullanım
47
+
48
+ ```bash
49
+ # İnteraktif kabuk açar
50
+ artiframe
51
+
52
+ # Yeni proje oluştur
53
+ artiframe> new benim-projem
54
+
55
+ # View oluştur
56
+ artiframe> make:view admin/kullanicilar.php
57
+
58
+ # API endpoint oluştur
59
+ artiframe> make:api standart api/auth/giris.php
60
+
61
+ # Sürüm güncelle
62
+ artiframe> version upgrade minor
63
+ ```
64
+
65
+ ---
66
+
67
+ ## 🇬🇧 English
68
+
69
+ **ArtiFrame** is a modern web development framework for native PHP, built on a zero external dependency philosophy. It offers a security-first, CLI-driven ecosystem free from Composer package chaos.
70
+
71
+ ### Features
72
+
73
+ - 🚫 **Zero Dependencies** — No Composer packages needed, every line of code is yours
74
+ - 🛡️ **Security First** — XSS, CSRF, SQL Injection protection built-in by default
75
+ - ⚡ **Quick Setup** — Complete project skeleton with a single command
76
+ - 🌍 **5 Language Support** — TR · EN · DE · FR · ES
77
+ - 📐 **Strict Ruleset** — `data-js` architecture, dual bootstrapper model, consistent directory structure
78
+
79
+ ### Installation
80
+
81
+ > Requires PHP 8.1 or higher.
82
+
83
+ ```bash
84
+ npm install -g @artilingo/artiframe-cli
85
+ ```
86
+
87
+ ### Usage
88
+
89
+ ```bash
90
+ # Opens the interactive shell
91
+ artiframe
92
+
93
+ # Create a new project
94
+ artiframe> new my-project
95
+
96
+ # Generate a view
97
+ artiframe> make:view admin/users.php
98
+
99
+ # Generate an API endpoint
100
+ artiframe> make:api standart api/auth/login.php
101
+
102
+ # Update version
103
+ artiframe> version upgrade minor
104
+ ```
105
+
106
+ ---
107
+
108
+ ## 🇩🇪 Deutsch
109
+
110
+ **ArtiFrame** ist ein modernes Web-Entwicklungs-Framework für natives PHP, das auf einer Philosophie ohne externe Abhängigkeiten aufgebaut ist. Es bietet ein sicherheitsorientiertes, CLI-gesteuertes Ökosystem, frei von Composer-Paketchaos.
111
+
112
+ ### Funktionen
113
+
114
+ - 🚫 **Null Abhängigkeiten** — Keine Composer-Pakete erforderlich, jede Codezeile gehört Ihnen
115
+ - 🛡️ **Sicherheit zuerst** — XSS, CSRF, SQL-Injection-Schutz standardmäßig integriert
116
+ - ⚡ **Schnelle Einrichtung** — Vollständiges Projektskelett mit einem einzigen Befehl
117
+ - 🌍 **5 Sprachunterstützung** — TR · EN · DE · FR · ES
118
+ - 📐 **Striktes Regelwerk** — `data-js`-Architektur, duales Bootstrapper-Modell, konsistente Verzeichnisstruktur
119
+
120
+ ### Installation
121
+
122
+ > Erfordert PHP 8.1 oder höher.
123
+
124
+ ```bash
125
+ npm install -g @artilingo/artiframe-cli
126
+ ```
127
+
128
+ ### Verwendung
129
+
130
+ ```bash
131
+ # Öffnet die interaktive Shell
132
+ artiframe
133
+
134
+ # Neues Projekt erstellen
135
+ artiframe> new mein-projekt
136
+
137
+ # View erstellen
138
+ artiframe> make:view admin/benutzer.php
139
+
140
+ # API-Endpunkt erstellen
141
+ artiframe> make:api standart api/auth/anmelden.php
142
+
143
+ # Version aktualisieren
144
+ artiframe> version upgrade minor
145
+ ```
146
+
147
+ ---
148
+
149
+ ## 🇫🇷 Français
150
+
151
+ **ArtiFrame** est un framework de développement web moderne pour PHP natif, construit sur une philosophie zéro dépendance externe. Il offre un écosystème axé sur la sécurité et piloté par CLI, sans le chaos des paquets Composer.
152
+
153
+ ### Fonctionnalités
154
+
155
+ - 🚫 **Zéro Dépendance** — Aucun paquet Composer nécessaire, chaque ligne de code vous appartient
156
+ - 🛡️ **La Sécurité d'Abord** — Protection XSS, CSRF, injection SQL intégrée par défaut
157
+ - ⚡ **Configuration Rapide** — Squelette de projet complet en une seule commande
158
+ - 🌍 **Support 5 Langues** — TR · EN · DE · FR · ES
159
+ - 📐 **Règles Strictes** — Architecture `data-js`, modèle double bootstrapper, structure de répertoires cohérente
160
+
161
+ ### Installation
162
+
163
+ > Nécessite PHP 8.1 ou supérieur.
164
+
165
+ ```bash
166
+ npm install -g @artilingo/artiframe-cli
167
+ ```
168
+
169
+ ### Utilisation
170
+
171
+ ```bash
172
+ # Ouvre le shell interactif
173
+ artiframe
174
+
175
+ # Créer un nouveau projet
176
+ artiframe> new mon-projet
177
+
178
+ # Générer une vue
179
+ artiframe> make:view admin/utilisateurs.php
180
+
181
+ # Générer un endpoint API
182
+ artiframe> make:api standart api/auth/connexion.php
183
+
184
+ # Mettre à jour la version
185
+ artiframe> version upgrade minor
186
+ ```
187
+
188
+ ---
189
+
190
+ ## 🇪🇸 Español
191
+
192
+ **ArtiFrame** es un framework de desarrollo web moderno para PHP nativo, construido sobre una filosofía de cero dependencias externas. Ofrece un ecosistema orientado a la seguridad y guiado por CLI, libre del caos de paquetes Composer.
193
+
194
+ ### Características
195
+
196
+ - 🚫 **Cero Dependencias** — Sin paquetes Composer, cada línea de código es tuya
197
+ - 🛡️ **Seguridad Primero** — Protección XSS, CSRF, inyección SQL integrada por defecto
198
+ - ⚡ **Configuración Rápida** — Esqueleto de proyecto completo con un solo comando
199
+ - 🌍 **Soporte 5 Idiomas** — TR · EN · DE · FR · ES
200
+ - 📐 **Reglas Estrictas** — Arquitectura `data-js`, modelo dual de bootstrapper, estructura de directorios consistente
201
+
202
+ ### Instalación
203
+
204
+ > Requiere PHP 8.1 o superior.
205
+
206
+ ```bash
207
+ npm install -g @artilingo/artiframe-cli
208
+ ```
209
+
210
+ ### Uso
211
+
212
+ ```bash
213
+ # Abre el shell interactivo
214
+ artiframe
215
+
216
+ # Crear un nuevo proyecto
217
+ artiframe> new mi-proyecto
218
+
219
+ # Generar una vista
220
+ artiframe> make:view admin/usuarios.php
221
+
222
+ # Generar un endpoint API
223
+ artiframe> make:api standart api/auth/login.php
224
+
225
+ # Actualizar la versión
226
+ artiframe> version upgrade minor
227
+ ```
228
+
229
+ ---
230
+
231
+ <div align="center">
232
+
233
+ **[artiframe.org](https://artiframe.org)** · **[npmjs.com/package/@artilingo/artiframe-cli](https://www.npmjs.com/package/@artilingo/artiframe-cli)** · **[GitHub](https://github.com/artilingo/artiframe)**
234
+
235
+ © Artilingo — Licensed under [AGPLv3](https://www.gnu.org/licenses/agpl-3.0)
236
+
237
+ </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artilingo/artiframe-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.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": {
@@ -10,6 +10,7 @@
10
10
  "postinstall": "node scripts/postinstall.js"
11
11
  },
12
12
  "files": [
13
+ "README.md",
13
14
  "bin/artiframe.js",
14
15
  "bin/artiframe.php",
15
16
  "src/",