Skip to content

Commit 6443787

Browse files
docs: update coverpage to highlight native and WebView UI capabilities with project badges
1 parent 4429393 commit 6443787

1 file changed

Lines changed: 14 additions & 27 deletions

File tree

docs/_coverpage.md

Lines changed: 14 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,25 @@
11
# PHP GUI
22

3-
## Build native desktop apps in pure PHP
3+
## Build native desktop apps with PHP — no Electron, no web server, no compromises.
44

5-
> Create cross-platform graphical interfaces using pure PHP — zero compiled extensions, zero massive browser engines.
5+
[![Latest Release](https://img.shields.io/github/v/release/developersharif/php-gui?style=flat-square)](https://github.com/developersharif/php-gui/releases) [![PHP](https://img.shields.io/badge/PHP-8.1%2B-blue?style=flat-square&logo=php)](https://php.net) [![Platform](https://img.shields.io/badge/platform-Linux%20%7C%20macOS%20%7C%20Windows-lightgrey?style=flat-square)](#platform-support)
66

7-
<p style="font-size: 0.85em; opacity: 0.7; margin-top: -12px; margin-bottom: 24px;">✨ Inspired by Python's Tkinter, built for modern PHP.</p>
8-
<div class="hero-mock-window" style="margin: 32px auto 40px; box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.6); max-width: 780px; text-align: left; z-index: 10; position: relative;">
9-
<div class="mock-titlebar">
10-
<div class="mock-controls"><span></span><span></span><span></span></div>
11-
<div class="mock-title">main.php - PHP GUI</div>
7+
> Create cross-platform desktop applications using pure PHP.
8+
9+
<p style="font-size: 0.9em; opacity: 0.8; margin-top: -12px; margin-bottom: 24px;">PHP GUI offers two powerful ways to build desktop apps from the same codebase:</p>
10+
11+
<div style="display: flex; gap: 20px; text-align: left; margin: 30px auto; max-width: 800px; justify-content: center; flex-wrap: wrap;">
12+
<div style="flex: 1; min-width: 280px; padding: 20px; border-radius: 8px; background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.1);">
13+
<h3 style="margin-top: 0;">🪟 Native Widgets</h3>
14+
<p style="font-size: 0.9em; opacity: 0.9; margin-bottom: 0;">Fast, system-native UI controls (forms, dialogs, tools) using Tcl/Tk. Inspired by Python's Tkinter, built for modern PHP.</p>
1215
</div>
13-
<div class="mock-content">
14-
<div class="mock-editor">
15-
<div class="mock-line"><span>1</span> <span class="kw">use</span> <span class="cl">PhpGui\Application</span>;</div>
16-
<div class="mock-line"><span>2</span> <span class="kw">use</span> <span class="cl">PhpGui\Widget\Window</span>;</div>
17-
<div class="mock-line"><span>3</span> <span class="kw">use</span> <span class="cl">PhpGui\Widget\Button</span>;</div>
18-
<div class="mock-line"><span>4</span> </div>
19-
<div class="mock-line"><span>5</span> <span class="va">$app</span> = <span class="kw">new</span> <span class="cl">Application</span>();</div>
20-
<div class="mock-line"><span>6</span> <span class="va">$window</span> = <span class="kw">new</span> <span class="cl">Window</span>([<span class="st">'title'</span> => <span class="st">'Native UI'</span>]);</div>
21-
<div class="mock-line"><span>7</span> </div>
22-
<div class="mock-line"><span>8</span> <span class="va">$btn</span> = <span class="kw">new</span> <span class="cl">Button</span>(<span class="va">$window</span>, [<span class="st">'text'</span> => <span class="st">'Click Me!'</span>]);</div>
23-
<div class="mock-line"><span>9</span> <span class="va">$btn</span>-><span class="fn">pack</span>();</div>
24-
<div class="mock-line"><span>10</span> </div>
25-
<div class="mock-line"><span>11</span> <span class="va">$app</span>-><span class="fn">run</span>();</div>
26-
</div>
27-
<div class="mock-gui-preview">
28-
<div class="preview-titlebar">Native UI</div>
29-
<div class="preview-body">
30-
<button class="preview-btn">Click Me!</button>
31-
</div>
32-
</div>
16+
<div style="flex: 1; min-width: 280px; padding: 20px; border-radius: 8px; background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.1);">
17+
<h3 style="margin-top: 0;">🌐 WebView Mode</h3>
18+
<p style="font-size: 0.9em; opacity: 0.9; margin-bottom: 0;">Build beautiful, modern interfaces using HTML, CSS, and JS. Like Tauri, but tailored completely for PHP developers.</p>
3319
</div>
3420
</div>
3521

22+
<p style="font-size: 0.95em; margin-bottom: 40px;">✨ <strong>Zero system dependencies</strong> Works natively on <strong>Linux, macOS, and Windows</strong>.</p>
3623

3724
[Get Started](getting-started.md)
3825
[View on GitHub](https://github.com/developersharif/php-gui)

0 commit comments

Comments
 (0)