Skip to content

Commit 367d367

Browse files
authored
Merge pull request #248 from dotkernel/wsl2-page1
pages
2 parents 5fd7d12 + 74ef38e commit 367d367

14 files changed

Lines changed: 162 additions & 107 deletions

‎public/admin.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ A fast, reliable way to manage the records in your database with a simple table-
1616
- [View on GitHub](https://github.com/dotkernel/admin)
1717
- [Live demo](https://admin7.dotkernel.net/)
1818

19+
PHP 8.3, 8.4 or 8.5 . [Latest release](https://github.com/dotkernel/admin/releases/latest)
20+
1921
| | |
2022
| --- | --- |
2123
| Runtime | Mezzio + Laminas |
@@ -210,7 +212,7 @@ If the fixtures ran, sign in with user `admin` and password `dotadmin` - the sam
210212
| Operating system | A \*nix based system is strongly recommended for production. |
211213
| PHP | 8.3 or newer, mod_php or FCGI (FPM). `memory_limit` at least 128M; `upload_max_filesize` and `post_max_size` at least 100M depending on your data. |
212214
| Web server | Apache 2.2+ with `mod_rewrite` and `.htaccess` support (`AllowOverride All`) - a default `.htaccess` ships in `public/`. On Nginx, translate it into server configuration. |
213-
| Database | MariaDB 10.7, 10.11 LTS, 11.4 LTS and 11.8 LTS, or PostgreSQL 13 and above. **MySQL is not supported**, as it has no UUID support. |
215+
| Database | MariaDB 11.4 LTS, 11.8 LTS and 12.3 LTS, or PostgreSQL 13 and above. **MySQL is not supported**, as it has no UUID support. |
214216
| Required extensions | `mbstring`, the CLI SAPI for cron jobs, and Composer available on `$PATH`. |
215217
| Recommended extensions | `opcache`; `pdo_mysql`, `pdo_pgsql` or `mysqli` to match your database; `dom` and `simplexml` for markup; `gd` and `exif` for images; `zlib`, `zip`, `bz2` for compression; `curl` when calling APIs; `sqlite3` for the test suite. |
216218

‎public/api.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ OAuth 2.0, RBAC authorization, HAL payloads, standardized error responses and an
1616
- [View on GitHub](https://github.com/dotkernel/api)
1717
- [Live demo](https://api.dotkernel.net/)
1818

19+
PHP 8.3, 8.4 or 8.5 . [Latest release](https://github.com/dotkernel/api/releases/latest)
20+
1921
| | |
2022
| --- | --- |
2123
| Runtime | Mezzio + Laminas |
@@ -130,11 +132,11 @@ You keep full control of the UUID version without depending on database extensio
130132
### PostgreSQL support
131133

132134
PostgreSQL joins the supported databases.
133-
Because native UUID is required, you need PostgreSQL or MariaDB 10.7 or later; MySQL is no longer supported, as it has no UUID data type.
135+
Because native UUID is required, you need PostgreSQL 13+ or MariaDB 11.4 or later; MySQL is no longer supported, as it has no UUID data type.
134136

135137
### PHP 8.5
136138

137-
The API targets PHP 8.5, with Dotkernel Admin on 8.4.
139+
The API and Admin target PHP 8.5.
138140
Dependencies are kept current, and the ecosystem's own packages track the versions Laminas and Doctrine support.
139141

140142
### Table prefixes
@@ -176,7 +178,7 @@ The comparison below is drawn from the full side-by-side write-up on our blog.
176178
| First release | 2012 | 2018 |
177179
| Architecture | MVC, event driven | Middleware |
178180
| OSS lifecycle | Archived | Active |
179-
| PHP version | ≤ 8.2 | See the PHP version badge for `dotkernel/api` |
181+
| PHP version | ≤ 8.2 | 8.3, 8.4 or 8.5 |
180182
| Style | REST, RPC | REST |
181183
| Change management | Versioning | Deprecations (API evolution) |
182184
| Documentation | Swagger (automated) | OpenAPI 3.0 (Swagger) and Postman (manual) |
@@ -283,7 +285,7 @@ Updates arrive with bugfixes and improvements from the PHP community, and breaki
283285

284286
## Install it and call an endpoint
285287

286-
Create the project with Composer, point it at PostgreSQL or MariaDB 10.7+, run the migrations, and you have an authenticated REST API with a browsable OpenAPI specification.
288+
Create the project with Composer, point it at PostgreSQL 13+ or MariaDB 11.4+, run the migrations, and you have an authenticated REST API with a browsable OpenAPI specification.
287289

288290
- [Installation guide](https://docs.dotkernel.org/api-documentation/)
289291
- [Try the demo](https://api.dotkernel.net/)

‎public/architecture.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A request enters at the error boundary, passes through routing, negotiation, aut
2222
| Container | PSR-11 |
2323
| Logging | PSR-3 |
2424

25-
## Five phases, 19 stages
25+
## Six phases, 19 stages
2626

2727
Error boundary (1 stage) -> Request preparation (4 stages) -> Routing (4 stages) -> Contract & headers (4 stages) -> Identity (2 stages) -> Dispatch & fallback (4 stages).
2828

‎public/frontend.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Duplicating `local.test.php.dist` gives your tests an in-memory database.
221221
| Required extensions | `curl`, `gettext`, `intl`, `json`, `mbstring`, the CLI SAPI for cron jobs, and Composer on `$PATH`. |
222222
| Recommended extensions | `opcache`; `pdo_mysql` for MySQL or MariaDB; `dom` and `simplexml` for markup; `gd` and `exif` for images; `zlib`, `zip`, `bz2` for compression; `sqlite3` for the test suite. |
223223

224-
Note that Frontend still supports MySQL - unlike API and Admin v7, which require native UUID support and therefore PostgreSQL or MariaDB 10.7+.
224+
Note that Frontend still supports MySQL - unlike API and Admin v7, which require native UUID support and therefore PostgreSQL 13+ or MariaDB 11.4+.
225225

226226
## Where Frontend sits
227227

‎public/queue.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ valkey-cli ping
201201

202202
### 4 . Clone and configure
203203

204-
Clone the queue branch, then copy each `.dist` configuration file into place - local, log, messenger and swoole - and fill them in.
204+
Clone the queue repo, then copy each `.dist` configuration file into place - local, log, messenger and swoole - and fill them in.
205205

206206
```shell
207207
git clone https://github.com/dotkernel/queue.git

‎src/App/templates/layout/default.html.twig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
<li><a class="dropdown-item" href="{{ url('page::dotboost') }}">Dotboost</a></li>
5454
<li><a class="dropdown-item" href="{{ url('page::light') }}">Light</a></li>
5555
<li><a class="dropdown-item" href="{{ url('page::frontend') }}">Frontend</a></li>
56+
<li><a class="dropdown-item" href="{{ url('page::wsl2') }}">WSL2 Dev Stack</a></li>
5657
</ul>
5758
</li>
5859
<li class="nav-item"><a class="nav-link" href="{{ url('page::architecture') }}">Architecture</a></li>

‎src/Page/templates/page/admin.html.twig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@
432432
</tr>
433433
<tr>
434434
<th scope="row">PHP</th>
435-
<td>8.2 or newer, mod_php or FCGI (FPM). <code>memory_limit</code> at least 128M;
435+
<td>8.3 or newer, mod_php or FCGI (FPM). <code>memory_limit</code> at least 128M;
436436
<code>upload_max_filesize</code> and <code>post_max_size</code> at least 100M depending
437437
on your data.</td>
438438
</tr>

‎src/Page/templates/page/api.html.twig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@
383383
</div>
384384
<div class="standard">
385385
<h4>PHP 8.5</h4>
386-
<p>The API and Admin target PHP 8.5. Dependencies are kept current, and the
386+
<p>The API targets PHP 8.5, with Dotkernel Admin on 8.4. Dependencies are kept current, and the
387387
ecosystem's own packages track the versions Laminas and Doctrine support.</p>
388388
</div>
389389
<div class="standard">

‎src/Page/templates/page/architecture.html.twig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107

108108
<div class="hero-visual">
109109
<div class="pipeline">
110-
<div class="pipeline-label"><span>Five phases</span><span>19 stages</span></div>
110+
<div class="pipeline-label"><span>Six phases</span><span>19 stages</span></div>
111111
<div class="blocks-tower">
112112
<div class="block" style="width:100%; background:var(--brand-red)"><span class="name">Error boundary</span><span class="tag">1 stage</span></div>
113113
<div class="block" style="width:84%; background:var(--periwinkle)"><span class="name">Request preparation</span><span class="tag">4 stages</span></div>

‎src/Page/templates/page/dotboost.html.twig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@
266266
<tr><th scope="row">git rebase</th><td>ask</td><td>blocks</td></tr>
267267
<tr><th scope="row">doctrine-migrations migrate / execute</th><td>ask</td><td>blocks</td></tr>
268268
<tr><th scope="row">fixtures:execute, schema:drop, schema:update</th><td>ask, via bin/cli.php</td><td>blocks</td></tr>
269-
<tr><th scope="row">composer development-enable / -disable</th><td>—</td><td>blocks</td></tr>
270-
<tr><th scope="row">pip install, git checkout --, git filter-branch</th><td>—</td><td>blocks</td></tr>
269+
<tr><th scope="row">composer development-enable / -disable</th><td>-</td><td>blocks</td></tr>
270+
<tr><th scope="row">pip install, git checkout --, git filter-branch</th><td>-</td><td>blocks</td></tr>
271271
</tbody>
272272
</table>
273273
</div>

0 commit comments

Comments
 (0)