Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
821 lines (791 loc) · 36.6 KB
/
Copy pathindex.html
File metadata and controls
821 lines (791 loc) · 36.6 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
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>phpvm</title>
<meta name="description" content="A small PHP version manager for Linux. Switch PHP per-terminal with no sudo, pin it per-project, and drive it from a TUI, tray app, or cd-hook." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://rijverse.github.io/phpvm/" />
<meta property="og:title" content="phpvm - PHP version manager for Linux" />
<meta property="og:description" content="A small PHP version manager for Linux. Switch PHP per-terminal with no sudo, pin it per-project, and drive it from a TUI, tray app, or cd-hook." />
<meta property="og:image" content="https://rijverse.github.io/phpvm/assets/showcase/social-preview.png" />
<meta property="og:image:width" content="1280" />
<meta property="og:image:height" content="640" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="phpvm - PHP version manager for Linux" />
<meta name="twitter:description" content="A small PHP version manager for Linux. Switch PHP per-terminal with no sudo, pin it per-project, and drive it from a TUI, tray app, or cd-hook." />
<meta name="twitter:image" content="https://rijverse.github.io/phpvm/assets/showcase/social-preview.png" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet" />
<style>
:root {
--bg-0: #0b0817;
--bg-1: #14102a;
--accent: #8a76d6;
--accent-2: #4f378b;
--ok: #7ee2b8;
--paper: #f3f0ea;
--muted: rgba(255,255,255,0.6);
--sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
--mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
html, body { margin: 0; background: #efece5; font-family: var(--sans); color: #111; -webkit-font-smoothing: antialiased; }
body { padding: 56px 40px 80px; }
.page-head {
max-width: 1320px; margin: 0 auto 36px; padding: 0 4px;
display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
}
.page-head .kicker {
font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
text-transform: uppercase; color: rgba(20,15,40,0.6);
}
.page-head h1 {
font-size: 32px; font-weight: 700; letter-spacing: -0.025em;
margin: 8px 0 6px; color: #1a1530;
}
.page-head p {
margin: 0; color: rgba(20,15,40,0.6); font-size: 15px;
max-width: 760px; line-height: 1.5;
}
.page-head .repo-link {
font-family: var(--mono); font-size: 13px;
color: #1a1530; text-decoration: none;
background: #fff;
border: 1px solid rgba(20,15,40,0.12);
padding: 8px 14px; border-radius: 8px;
display: inline-flex; align-items: center; gap: 8px;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.page-head .repo-link:hover {
border-color: var(--accent-2);
box-shadow: 0 4px 14px -6px rgba(79,55,140,0.35);
}
.page-head .repo-link svg { width: 16px; height: 16px; fill: currentColor; }
.page-head .head-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-head .workspace-link {
font-family: var(--mono); font-size: 13px;
color: #1a1530; text-decoration: none;
background: #fff;
border: 1px solid rgba(20,15,40,0.12);
padding: 5px 14px 5px 5px; border-radius: 999px;
display: inline-flex; align-items: center; gap: 8px;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.page-head .workspace-link:hover {
border-color: var(--accent-2);
box-shadow: 0 4px 14px -6px rgba(79,55,140,0.35);
}
.page-head .workspace-link img {
width: 24px; height: 24px; border-radius: 50%; display: block;
}
.heroes {
max-width: 1320px; margin: 0 auto;
display: flex; flex-direction: column; gap: 48px;
}
.section-head {
display: flex; align-items: baseline; gap: 14px;
margin-bottom: 16px;
}
.section-head .num {
font-family: var(--mono); font-size: 12px;
color: rgba(20,15,40,0.6);
background: #fff;
border: 1px solid rgba(20,15,40,0.08);
padding: 4px 8px; border-radius: 6px;
}
.section-head .ttl {
font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
color: #1a1530;
}
.section-head .desc {
font-size: 14px; color: rgba(20,15,40,0.55);
}
.stage {
border-radius: 18px; overflow: hidden;
box-shadow:
0 24px 60px -30px rgba(20,15,40,0.45),
0 0 0 1px rgba(20,15,40,0.06);
background: #000;
width: 100%;
max-width: 1280px;
}
/* ============ HERO ============ */
.hero {
width: 100%;
max-width: 1280px;
/* height set per-hero is desktop-target; collapses to auto on narrow viewports */
background:
radial-gradient(900px 600px at 80% 20%, rgba(138,118,214,0.20), transparent 60%),
radial-gradient(900px 800px at 10% 100%, rgba(79,55,140,0.30), transparent 65%),
linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
color: var(--paper);
position: relative;
overflow: hidden;
padding: 56px 72px;
box-sizing: border-box;
display: grid;
grid-template-rows: auto 1fr auto;
gap: 28px;
}
/* subtle grid */
.hero::before {
content: "";
position: absolute; inset: 0;
background-image:
linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
background-size: 36px 36px;
mask-image: radial-gradient(900px 600px at 50% 60%, #000, transparent 78%);
pointer-events: none;
}
/* ----- top brand row ----- */
.top {
display: flex; align-items: center; justify-content: space-between;
position: relative; z-index: 2;
}
.brand {
display: flex; align-items: center; gap: 14px;
}
.brand .mark {
width: 44px; height: 44px;
border-radius: 12px;
background: linear-gradient(135deg, #c2c8e6, #8892BF 55%, #727FAF);
display: grid; place-items: center;
padding: 8px; box-sizing: border-box;
box-shadow: 0 6px 20px -6px rgba(138,118,214,0.5),
0 0 0 1px rgba(255,255,255,0.08) inset;
}
.brand .mark img { display: block; width: 100%; height: 100%; }
.brand .name {
font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
}
.brand .name .v { color: var(--accent); font-style: italic; font-weight: 500; }
.brand .sep { width: 1px; height: 22px; background: rgba(255,255,255,0.12); }
.brand .tag {
font-family: var(--mono); font-size: 12px; color: var(--muted);
letter-spacing: 0.02em;
}
.meta { display: flex; align-items: center; gap: 8px; }
.meta .pill {
font-family: var(--mono); font-size: 11px;
padding: 5px 9px; border-radius: 999px;
border: 1px solid rgba(255,255,255,0.12);
color: var(--muted);
}
.meta .pill.feature {
background: rgba(138,118,214,0.12);
border-color: rgba(138,118,214,0.4);
color: var(--accent);
}
/* ----- center stage: screenshot + callout ----- */
.center {
position: relative;
align-self: center; justify-self: center;
width: 100%;
display: flex; justify-content: center;
}
.shot-card {
position: relative;
border-radius: 16px;
padding: 24px 28px 20px;
background:
linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
rgba(255,255,255,0.02);
border: 1px solid rgba(255,255,255,0.08);
box-shadow:
0 30px 80px -30px rgba(0,0,0,0.6),
0 0 0 1px rgba(255,255,255,0.04) inset;
width: 100%;
/* max-width set per-hero */
}
.shot-card .label-row {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 12px;
font-family: var(--mono); font-size: 11px;
color: rgba(255,255,255,0.5);
letter-spacing: 0.08em; text-transform: uppercase;
}
.shot-card .label-row .dots { display: flex; gap: 6px; }
.shot-card .label-row .dots i {
width: 9px; height: 9px; border-radius: 50%;
background: rgba(255,255,255,0.18);
}
.shot-frame {
position: relative;
border-radius: 12px;
background: #1a1530;
box-shadow:
0 0 0 1px rgba(255,255,255,0.06) inset,
0 18px 50px -20px rgba(0,0,0,0.55);
}
.shot-frame img { display: block; width: 100%; height: auto; border-radius: 12px; }
/* highlight ring, position via CSS vars per-hero */
.highlight {
position: absolute;
left: var(--hl-left);
top: var(--hl-top);
width: var(--hl-w);
height: var(--hl-h);
border-radius: var(--hl-r, 8px);
box-shadow:
0 0 0 2px var(--accent),
0 0 0 6px rgba(138,118,214,0.18),
0 0 40px 6px rgba(138,118,214,0.45);
pointer-events: none;
animation: ringPulse 2.4s ease-in-out infinite;
}
@keyframes ringPulse {
0%, 100% {
box-shadow:
0 0 0 2px var(--accent),
0 0 0 5px rgba(138,118,214,0.10),
0 0 24px 2px rgba(138,118,214,0.30);
}
50% {
box-shadow:
0 0 0 4px var(--accent),
0 0 0 14px rgba(138,118,214,0.28),
0 0 80px 22px rgba(138,118,214,0.85);
}
}
/* top callout */
.callout {
position: absolute;
top: var(--call-top, -10px);
left: var(--call-x);
transform: translateY(-100%);
display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
z-index: 3;
}
.callout .bubble {
font-family: var(--mono); font-size: 12px;
background: var(--accent);
color: #160a2a;
font-weight: 600;
padding: 6px 11px;
border-radius: 999px;
letter-spacing: 0.02em;
box-shadow: 0 6px 18px -4px rgba(138,118,214,0.5);
white-space: nowrap;
}
.callout .leader {
width: 1px;
height: var(--call-leader, 28px);
background: linear-gradient(180deg, var(--accent), rgba(138,118,214,0));
margin-left: 18px;
}
/* bottom annotation */
.annot-below {
position: absolute;
bottom: -7px;
left: var(--annot-x);
transform: translateY(100%);
display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
z-index: 3;
}
.annot-below .leader {
width: 1px; height: var(--annot-leader, 22px);
background: linear-gradient(0deg, rgba(126,226,184,0.6), rgba(126,226,184,0));
margin-left: 18px;
}
.annot-below .text {
font-family: var(--mono); font-size: 11px;
color: var(--ok);
letter-spacing: 0.06em; text-transform: uppercase;
display: flex; align-items: center; gap: 6px;
white-space: nowrap;
}
.annot-below .text .dot {
width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
box-shadow: 0 0 10px rgba(126,226,184,0.6);
}
.caption-strip {
margin-top: 18px;
display: flex; align-items: center; justify-content: space-between;
font-family: var(--mono); font-size: 11px;
color: rgba(255,255,255,0.45);
letter-spacing: 0.04em;
}
.caption-strip code {
color: var(--paper);
background: rgba(255,255,255,0.05);
padding: 3px 7px; border-radius: 5px;
font-size: 11px;
}
/* ----- per-shell terminal duo (CSS mockup, no screenshot) ----- */
.term-duo {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.term {
border-radius: 10px;
background: #0d0a1c;
border: 1px solid rgba(255,255,255,0.08);
box-shadow:
0 18px 50px -20px rgba(0,0,0,0.55),
0 0 0 1px rgba(255,255,255,0.04) inset;
overflow: hidden;
text-align: left;
}
.term .bar {
display: flex; align-items: center; gap: 10px;
padding: 10px 14px;
background: rgba(255,255,255,0.03);
border-bottom: 1px solid rgba(255,255,255,0.06);
font-family: var(--mono); font-size: 11px;
color: rgba(255,255,255,0.5);
}
.term .bar .dots { display: flex; gap: 6px; }
.term .bar .dots i {
width: 9px; height: 9px; border-radius: 50%;
background: rgba(255,255,255,0.18);
}
.term .bar .path { letter-spacing: 0.02em; }
.term .body {
padding: 18px 18px 22px;
font-family: var(--mono); font-size: 13px; line-height: 1.7;
color: rgba(255,255,255,0.82);
}
.term .body .line { white-space: pre-wrap; }
.term .body .prompt { color: var(--accent); }
.term .body .cmd-txt { color: var(--paper); }
.term .body .ok { color: var(--ok); }
.term .body .muted2 { color: rgba(255,255,255,0.45); }
.term .body .ver {
display: inline-block;
margin-top: 8px;
padding: 4px 10px;
border-radius: 6px;
color: var(--paper);
background: rgba(138,118,214,0.16);
animation: verPulse 2.4s ease-in-out infinite;
}
@keyframes verPulse {
0%, 100% {
box-shadow:
0 0 0 1.5px var(--accent),
0 0 0 3px rgba(138,118,214,0.10),
0 0 18px 2px rgba(138,118,214,0.30);
}
50% {
box-shadow:
0 0 0 2px var(--accent),
0 0 0 7px rgba(138,118,214,0.26),
0 0 36px 8px rgba(138,118,214,0.70);
}
}
/* ----- bottom: tagline ----- */
.bottom {
position: relative; z-index: 2;
display: grid;
grid-template-columns: 1fr auto;
align-items: end;
gap: 40px;
}
.bottom h2 {
font-size: 40px;
line-height: 1.05;
letter-spacing: -0.03em;
font-weight: 800;
margin: 0;
max-width: 660px;
}
.bottom h2 em {
font-style: italic; font-weight: 400; color: var(--accent);
}
.bottom .right-col {
display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
text-align: right;
}
.bottom .right-col .line {
font-family: var(--mono); font-size: 12px;
color: var(--muted);
}
.bottom .right-col .cmd {
font-family: var(--mono); font-size: 13px;
color: var(--paper);
background: rgba(255,255,255,0.04);
border: 1px solid rgba(255,255,255,0.10);
padding: 8px 12px; border-radius: 8px;
display: inline-flex; gap: 8px; align-items: center;
}
.bottom .right-col .cmd .p { color: var(--accent); }
/* ----- narrow viewports ----- */
@media (max-width: 900px) {
body { padding: 32px 16px 56px; }
.page-head { grid-template-columns: 1fr; align-items: start; gap: 16px; }
.page-head h1 { font-size: 24px; }
.hero {
height: auto !important;
min-height: 0 !important;
padding: 32px 24px;
gap: 20px;
}
.top { flex-direction: column; align-items: flex-start; gap: 12px; }
.meta { flex-wrap: wrap; }
.shot-card { padding: 16px 16px 14px; }
.bottom { grid-template-columns: 1fr; gap: 20px; }
.bottom h2 { font-size: 26px; }
.bottom .right-col { align-items: flex-start; text-align: left; }
.callout, .annot-below { display: none; }
.highlight { box-shadow: 0 0 0 2px var(--accent), 0 0 24px 4px rgba(138,118,214,0.4); animation: none; }
.caption-strip { flex-direction: column; align-items: flex-start; gap: 6px; }
.term-duo { grid-template-columns: 1fr; gap: 14px; }
.term .body .ver { box-shadow: 0 0 0 1.5px var(--accent), 0 0 22px 4px rgba(138,118,214,0.4); animation: none; }
}
</style>
</head>
<body>
<div class="page-head">
<div>
<div class="kicker">phpvm</div>
<h1>Five feature spotlights</h1>
<p>Per-shell switching, the taskbar indicator, tray menu, full GUI window, and TUI picker. Each one rings the part that shows which PHP is in play.</p>
</div>
<div class="head-links">
<a class="workspace-link" href="https://github.com/rijverse" target="_blank" rel="noopener">
<img src="https://github.com/rijverse.png?size=48" alt="rijverse workspace" />
rijverse
</a>
<a class="repo-link" href="https://github.com/rijverse/phpvm" target="_blank" rel="noopener">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0016 8c0-4.42-3.58-8-8-8z"/></svg>
rijverse/phpvm
</a>
<a class="repo-link" href="roadmap.html">
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M2 3.5h7v2H2zM2 7h12v2H2zM2 10.5h9v2H2z"/></svg>
Roadmap
</a>
</div>
</div>
<div class="heroes">
<!-- ============================================== -->
<!-- 01 PER-SHELL SWITCHING -->
<!-- ============================================== -->
<section data-screen-label="01 Per-shell switching">
<div class="section-head">
<span class="num">01</span>
<span class="ttl">Per-shell switching</span>
<span class="desc">Two terminals, two PHP versions, no sudo.</span>
</div>
<div class="stage">
<div class="hero" style="min-height: 680px;">
<div class="top">
<div class="brand">
<div class="mark"><img src="assets/phpvm.svg" alt="phpvm" /></div>
<div class="name">php<span class="v">vm</span></div>
<div class="sep"></div>
<div class="tag">// per-shell switching · the everyday default</div>
</div>
<div class="meta">
<span class="pill feature">no sudo</span>
<span class="pill">bash · zsh · fish</span>
<span class="pill">since v2.5.0</span>
</div>
</div>
<div class="center">
<div class="shot-card" style="max-width: 1040px;">
<div class="label-row">
<span>two terminals · same machine</span>
<span class="dots"><i></i><i></i><i></i></span>
</div>
<div class="term-duo">
<div class="term">
<div class="bar">
<span class="dots"><i></i><i></i><i></i></span>
<span class="path">~/laravel9-app</span>
</div>
<div class="body">
<div class="line"><span class="prompt">$</span> <span class="cmd-txt">phpvm shell 8.2</span></div>
<div class="line"><span class="ok">✓</span> <span class="muted2">shell pinned to PHP 8.2</span></div>
<div class="line"><span class="prompt">$</span> <span class="cmd-txt">php -v</span></div>
<div class="line"><span class="ver">PHP 8.2.28 (cli)</span></div>
</div>
</div>
<div class="term">
<div class="bar">
<span class="dots"><i></i><i></i><i></i></span>
<span class="path">~/symfony-app</span>
</div>
<div class="body">
<div class="line"><span class="prompt">$</span> <span class="cmd-txt">phpvm shell 8.3</span></div>
<div class="line"><span class="ok">✓</span> <span class="muted2">shell pinned to PHP 8.3</span></div>
<div class="line"><span class="prompt">$</span> <span class="cmd-txt">php -v</span></div>
<div class="line"><span class="ver">PHP 8.3.21 (cli)</span></div>
</div>
</div>
</div>
<div class="caption-strip">
<span>a <code>php</code> shim on your PATH reads <code>PHPVM_SHELL_VERSION</code></span>
<span>resolution: shell pin > project > global</span>
</div>
</div>
</div>
<div class="bottom">
<h2>Two terminals. <em>Two PHP versions. No sudo.</em></h2>
<div class="right-col">
<div class="line">pin this terminal</div>
<div class="cmd"><span class="p">$</span> phpvm shell 8.2</div>
</div>
</div>
</div>
</div>
</section>
<!-- ============================================== -->
<!-- 02 TASKBAR INDICATOR -->
<!-- ============================================== -->
<section data-screen-label="02 Taskbar indicator">
<div class="section-head">
<span class="num">02</span>
<span class="ttl">Taskbar indicator</span>
<span class="desc">Tray shows the live PHP version.</span>
</div>
<div class="stage">
<div class="hero" style="
min-height: 720px;
--hl-left: 46%; --hl-top: 1%; --hl-w: 25%; --hl-h: 13%;
--call-x: 59%; --annot-x: 59%;
">
<div class="top">
<div class="brand">
<div class="mark"><img src="assets/phpvm.svg" alt="phpvm" /></div>
<div class="name">php<span class="v">vm</span></div>
<div class="sep"></div>
<div class="tag">// a small PHP version manager for linux</div>
</div>
<div class="meta">
<span class="pill feature">tray indicator</span>
<span class="pill">linux</span>
</div>
</div>
<div class="center">
<div class="shot-card" style="max-width: 760px;">
<div class="label-row">
<span>system tray · gnome panel</span>
<span class="dots"><i></i><i></i><i></i></span>
</div>
<div class="shot-frame">
<img src="assets/showcase/taskbar-php84.png" alt="System tray showing PHP 8.4 active" />
<div class="highlight" aria-hidden="true"></div>
<div class="callout">
<div class="bubble">active PHP version</div>
<div class="leader"></div>
</div>
<div class="annot-below">
<div class="leader"></div>
<div class="text"><span class="dot"></span>updated by phpvm</div>
</div>
</div>
<div class="caption-strip">
<span>tray indicator reflects the system-wide (global) PHP</span>
<span>updates when you run <code>phpvm global</code></span>
</div>
</div>
</div>
<div class="bottom">
<h2>Know which PHP <em>is actually running</em></h2>
<div class="right-col">
<div class="line">install · no clone needed</div>
<div class="cmd" style="white-space: normal; overflow-wrap: anywhere; text-align: left; max-width: 340px; align-items: flex-start; line-height: 1.55;"><span class="p">$</span> curl -fsSL https://raw.githubusercontent.com/rijverse/phpvm/main/install.sh | sudo bash</div>
</div>
</div>
</div>
</div>
</section>
<!-- ============================================== -->
<!-- 03 TRAY MENU -->
<!-- ============================================== -->
<section data-screen-label="03 Tray menu">
<div class="section-head">
<span class="num">03</span>
<span class="ttl">Tray menu</span>
<span class="desc">One click switching from the panel.</span>
</div>
<div class="stage">
<div class="hero" style="
min-height: 820px;
--hl-left: 66%; --hl-top: 38%; --hl-w: 33%; --hl-h: 8.2%;
--hl-r: 4px;
--call-x: 83%; --call-leader: 36px;
--annot-x: 83%; --annot-leader: 30px;
">
<div class="top">
<div class="brand">
<div class="mark"><img src="assets/phpvm.svg" alt="phpvm" /></div>
<div class="name">php<span class="v">vm</span></div>
<div class="sep"></div>
<div class="tag">// tray menu · GTK + AppIndicator3</div>
</div>
<div class="meta">
<span class="pill feature">one-click switch</span>
<span class="pill">GTK3</span>
<span class="pill">linux</span>
</div>
</div>
<div class="center">
<div class="shot-card" style="max-width: 1040px;">
<div class="label-row">
<span>tray menu</span>
<span class="dots"><i></i><i></i><i></i></span>
</div>
<div class="shot-frame">
<img src="assets/showcase/gui-tray-menu.png" alt="phpvm tray menu showing PHP 8.3 active with checkmark" />
<div class="highlight" aria-hidden="true"></div>
<div class="callout">
<div class="bubble">active · ✓ checked</div>
<div class="leader"></div>
</div>
<div class="annot-below">
<div class="leader"></div>
<div class="text"><span class="dot"></span>click any version to switch</div>
</div>
</div>
<div class="caption-strip">
<span><code>Auto-detect from project</code> reads <code>.php-version</code> for the current cwd</span>
<span>or pick a folder explicitly</span>
</div>
</div>
</div>
<div class="bottom">
<h2>Switch PHP from the panel. <em>Without leaving your work.</em></h2>
<div class="right-col">
<div class="line">launch tray</div>
<div class="cmd"><span class="p">$</span> phpvm-gui</div>
</div>
</div>
</div>
</div>
</section>
<!-- ============================================== -->
<!-- 04 GUI WINDOW -->
<!-- ============================================== -->
<section data-screen-label="04 GUI window">
<div class="section-head">
<span class="num">04</span>
<span class="ttl">GUI window</span>
<span class="desc">Every installed PHP with per-version badges.</span>
</div>
<div class="stage">
<div class="hero" style="
min-height: 820px;
--hl-left: 3.5%; --hl-top: 76%; --hl-w: 93.5%; --hl-h: 11%;
--hl-r: 6px;
--call-x: 8%; --call-leader: 30px;
--annot-x: 80%; --annot-leader: 26px;
">
<div class="top">
<div class="brand">
<div class="mark"><img src="assets/phpvm.svg" alt="phpvm" /></div>
<div class="name">php<span class="v">vm</span></div>
<div class="sep"></div>
<div class="tag">// GTK window · SAPI · xdebug · FPM · EOL badges</div>
</div>
<div class="meta">
<span class="pill feature">per-version status</span>
<span class="pill">GTK3</span>
<span class="pill">linux</span>
</div>
</div>
<div class="center">
<div class="shot-card" style="max-width: 1060px;">
<div class="label-row">
<span>phpvm-gui · main window</span>
<span class="dots"><i></i><i></i><i></i></span>
</div>
<div class="shot-frame">
<img src="assets/showcase/gui-window.png" alt="phpvm GUI window with PHP 8.3 active row highlighted" />
<div class="highlight" aria-hidden="true"></div>
<div class="callout">
<div class="bubble">active row · php 8.3</div>
<div class="leader"></div>
</div>
<div class="annot-below">
<div class="leader"></div>
<div class="text"><span class="dot"></span>switch / restart FPM inline</div>
</div>
</div>
<div class="caption-strip">
<span>badges: <code>cli</code> · <code>fpm</code> · <code>apache2</code> · <code>xdebug</code> · <code>EOL</code></span>
<span>FPM status pill flips live as you switch</span>
</div>
</div>
</div>
<div class="bottom">
<h2>Every PHP, every status, <em>at a glance.</em></h2>
<div class="right-col">
<div class="line">open the window</div>
<div class="cmd"><span class="p">$</span> phpvm-gui</div>
</div>
</div>
</div>
</div>
</section>
<!-- ============================================== -->
<!-- 05 TUI -->
<!-- ============================================== -->
<section data-screen-label="05 TUI">
<div class="section-head">
<span class="num">05</span>
<span class="ttl">Terminal UI</span>
<span class="desc">Keyboard-driven picker. Enter pins the current shell.</span>
</div>
<div class="stage">
<div class="hero" style="
min-height: 840px;
--hl-left: 3.2%; --hl-top: 54.5%; --hl-w: 93.6%; --hl-h: 5%;
--hl-r: 4px;
--call-x: 25%; --call-leader: 30px;
--annot-x: 70%; --annot-leader: 26px;
">
<div class="top">
<div class="brand">
<div class="mark"><img src="assets/phpvm.svg" alt="phpvm" /></div>
<div class="name">php<span class="v">vm</span></div>
<div class="sep"></div>
<div class="tag">// terminal-native version picker</div>
</div>
<div class="meta">
<span class="pill feature">keyboard-driven</span>
<span class="pill">bash · zsh · fish</span>
<span class="pill">no GUI required</span>
</div>
</div>
<div class="center">
<div class="shot-card" style="max-width: 1100px;">
<div class="label-row">
<span>phpvm · interactive TUI</span>
<span class="dots"><i></i><i></i><i></i></span>
</div>
<div class="shot-frame">
<img src="assets/showcase/tui.png" alt="phpvm TUI showing php8.2 selected as the active version" />
<div class="highlight" aria-hidden="true"></div>
<div class="callout">
<div class="bubble">selected · ● active</div>
<div class="leader"></div>
</div>
<div class="annot-below">
<div class="leader"></div>
<div class="text"><span class="dot"></span>↑/↓ navigate · enter pins this shell</div>
</div>
</div>
<div class="caption-strip">
<span><code>g</code> global · <code>p</code> project · <code>q</code> quit</span>
<span>a <code>php</code> shim on your PATH, no sudo</span>
</div>
</div>
</div>
<div class="bottom">
<h2>Switch PHP for <em>just this terminal.</em></h2>
<div class="right-col">
<div class="line">just run it</div>
<div class="cmd"><span class="p">$</span> phpvm</div>
</div>
</div>
</div>
</div>
</section>
</div>
</body>
</html>