-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
344 lines (325 loc) · 14.8 KB
/
index.html
File metadata and controls
344 lines (325 loc) · 14.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
<!doctype html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Forge Kernel | PHP Application Hosted Kernel</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-core.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
<link
href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css"
rel="stylesheet"
/>
<link
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="assets/css/docs.css" />
</head>
<body class="bg-gray-50 text-gray-900">
<!-- Navigation -->
<nav class="bg-white shadow-sm border-b">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0">
<h1 class="text-xl font-bold text-gray-900">
Forge Kernel
</h1>
</div>
<div class="hidden sm:ml-6 sm:flex sm:space-x-8">
<a
href="index.html"
class="text-blue-600 inline-flex items-center px-1 pt-1 text-sm font-medium border-b-2 border-blue-600"
>
Home
</a>
<a
href="getting-started.html"
class="text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium hover:text-blue-600"
>
Getting Started
</a>
<a
href="core-concepts.html"
class="text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium hover:text-blue-600"
>
Core Concepts
</a>
<a
href="modules.html"
class="text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium hover:text-blue-600"
>
Capabilities
</a>
<a
href="api-reference.html"
class="text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium hover:text-blue-600"
>
API Reference
</a>
<a
href="tutorial.html"
class="text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium hover:text-blue-600"
>
Tutorials
</a>
<a
href="https://github.com/forge-engine"
target="_blank"
class="text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium hover:text-blue-600"
>
<i class="fab fa-github mr-2"></i> GitHub
</a>
</div>
</div>
<!-- Mobile menu button -->
<div class="flex items-center sm:hidden">
<button
id="mobile-menu-button"
class="text-gray-700 hover:text-blue-600 p-2"
>
<i class="fas fa-bars text-xl"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div
id="mobile-menu"
class="sm:hidden hidden bg-white border-t border-gray-200"
>
<div class="px-2 pt-2 pb-3 space-y-1">
<a
href="index.html"
class="block px-3 py-2 text-blue-600 font-medium"
>
Home
</a>
<a
href="getting-started.html"
class="block px-3 py-2 text-gray-900 hover:text-blue-600"
>
Getting Started
</a>
<a
href="core-concepts.html"
class="block px-3 py-2 text-gray-900 hover:text-blue-600"
>
Core Concepts
</a>
<a
href="modules.html"
class="block px-3 py-2 text-gray-900 hover:text-blue-600"
>
Modules
</a>
<a
href="api-reference.html"
class="block px-3 py-2 text-gray-900 hover:text-blue-600"
>
API Reference
</a>
<a
href="tutorial.html"
class="block px-3 py-2 text-gray-900 hover:text-blue-600"
>
Tutorials
</a>
<a
href="https://github.com/forge-engine"
target="_blank"
class="block px-3 py-2 text-gray-900 hover:text-blue-600"
>
<i class="fab fa-github mr-2"></i> GitHub
</a>
</div>
</div>
</nav>
<!-- Main Content -->
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="bg-white rounded-lg shadow-sm p-8">
<h1 class="text-4xl font-bold text-gray-900 mb-6">
Forge Kernel
</h1>
<p class="text-xl text-gray-600 mb-8">
a PHP Application Hosted Kernel with pluggable capabilities.
</p>
<section class="mb-12">
<h2 class="text-2xl font-bold text-gray-900 mb-4">
install
</h2>
<div class="code-block p-6 text-white rounded-lg mb-6">
<pre><code class="language-bash">bash <(curl -Ls https://raw.githubusercontent.com/forge-engine/installer/main/installer.sh)</code></pre>
</div>
</section>
<section class="mb-12">
<p class="text-gray-600 mb-4">
Forge is a PHP Application Hosted Kernel with pluggable
capabilities. It's a minimal, dependency-free PHP kernel
I built to serve my own projects. It's fully open source
under the MIT license.
</p>
<p class="text-gray-600 mb-4">
— take what helps, ignore what doesn't, fork it if you
need to.
</p>
<h3 class="text-lg font-semibold mb-3 text-gray-900">
This organization contains:
</h3>
<ul
class="list-disc list-inside space-y-2 text-gray-600 mb-4"
>
<li>
<strong>The Forge Kernel</strong> — a minimal,
dependency-free PHP kernel (DI, routing,
bootstrapping, view engine, configuration manager,
and core services).
</li>
<li>
<strong>Forge Capabilities</strong> —
self-contained, optional capability modules
(database, ORM, auth, storage, etc.) that you plug
in when needed.
</li>
<li>
<strong>Utilities & Installers</strong> — scripts
and helpers for easier setup and tooling.
</li>
</ul>
<p class="text-gray-600 mb-4">
<strong>Capabilities, not built-ins.</strong> Database,
ORM, authentication, storage — these aren't built into
the kernel. They're capabilities you plug in via modules
when you need them. The kernel stays lean. You stay in
control.
</p>
</section>
<section class="mb-12">
<h2 class="text-2xl font-bold text-gray-900 mb-4">
philosophy
</h2>
<p class="text-gray-600 mb-4">
This isn't a product. There's no company behind it. No
support SLA. No roadmap you should depend on.
</p>
<p class="text-gray-600 mb-4">
Forge exists because I like to understand and own my
stack. If others find value in it — awesome. If not —
that's cool too.
</p>
<h3 class="text-lg font-semibold mb-3 text-gray-900">
You're not a user here. You're a builder.
</h3>
<ul
class="list-disc list-inside space-y-2 text-gray-600 mb-4"
>
<li>
If you use Forge, it's yours now. Your rules. Your
path.
</li>
<li>
If I publish updates, they're for my use case. Pull
them in if they help.
</li>
<li>
If my direction doesn't match yours, fork it. Change
everything. That's the point.
</li>
</ul>
</section>
<section class="mb-12">
<h2 class="text-2xl font-bold text-gray-900 mb-4">
want to build your own thing?
</h2>
<p class="text-gray-600 mb-4">
You can fork the entire kernel and capability ecosystem
to start your own direction. Check out
<a
href="https://github.com/forge-engine/forge/blob/main/docs/FORGING-YOUR-OWN.md"
class="text-blue-600 hover:underline"
>FORGING-YOUR-OWN.md</a
>
in the main repo for notes on how everything is
structured and how to get started.
</p>
</section>
</div>
</div>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-8 mt-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<div class="mb-4">
<span class="text-lg font-bold">Forge Kernel</span>
</div>
<p class="text-gray-400">
Forge Kernel is open source. Licensed under MIT.
</p>
<div class="mt-4">
<a
href="https://github.com/forge-engine"
target="_blank"
class="text-gray-400 hover:text-white"
>
<i class="fab fa-github text-2xl"></i>
</a>
</div>
</div>
</footer>
<script>
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach((anchor) => {
anchor.addEventListener("click", function (e) {
e.preventDefault();
const target = document.querySelector(
this.getAttribute("href"),
);
if (target) {
target.scrollIntoView({
behavior: "smooth",
block: "start",
});
}
});
});
// Mobile menu toggle
const mobileMenuButton =
document.getElementById("mobile-menu-button");
const mobileMenu = document.getElementById("mobile-menu");
function toggleMobileMenu() {
mobileMenu.classList.toggle("hidden");
}
if (mobileMenuButton) {
mobileMenuButton.addEventListener("click", toggleMobileMenu);
}
// Close mobile menu when clicking on a link
document.querySelectorAll("#mobile-menu a").forEach((link) => {
link.addEventListener("click", () => {
mobileMenu.classList.add("hidden");
});
});
// Close mobile menu when clicking outside
document.addEventListener("click", function (event) {
const isClickInsideMenu =
mobileMenu && mobileMenu.contains(event.target);
const isClickOnMenuButton =
mobileMenuButton && mobileMenuButton.contains(event.target);
if (
mobileMenu &&
!mobileMenu.classList.contains("hidden") &&
!isClickInsideMenu &&
!isClickOnMenuButton
) {
mobileMenu.classList.add("hidden");
}
});
// Close mobile menu on window resize if above mobile breakpoint
window.addEventListener("resize", function () {
if (window.innerWidth >= 640) {
if (mobileMenu) mobileMenu.classList.add("hidden");
}
});
</script>
</body>
</html>