File: playground.php

package info (click to toggle)
php-nunomaduro-termwind 2.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,172 kB
  • sloc: php: 3,969; makefile: 34
file content (22 lines) | stat: -rw-r--r-- 740 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

require_once __DIR__.'/vendor/autoload.php';

use function Termwind\render;

render(<<<'HTML'
    <div class="ml-2">
        <pre>
  ─                   ─        ─    ─
│ │                 │ │      │ │  │ │
│ │     ──,         │ │  ──, │ │  │ │  ─
│/ \   /  │  │   │  │/  /  │ │/ \─│/  │/
│   │─/\─/│─/ \─/│─/│──/\─/│─/\─/ │──/│──/
        </pre>
        <div class="px-1 bg-green-300 text-black">by ⚙️ Configured</div>
        <div class="px-1 mt-1 bg-blue-300 text-black">{{ $version }}</div>
        <em class="ml-1">
            Create portable PHP CLI applications w/ PHP Micro
        </em>
    </div>
HTML);