A Laravel 12 app that calculates your running pace and assigns a League of Legends–style rank. Deployed on Clever Cloud's PHP runtime.
- Fork this repository
- In the Clever Cloud console, create a new PHP application — connect your forked repo
- No add-on needed (stateless, cookie-based sessions)
- The
.envfile is committed — no manual environment variables to set - Push → Clever Cloud deploys automatically
Configuration file: clevercloud/php.json
{ "deploy": { "webroot": "/public" } }| Layer | Technology |
|---|---|
| Language | PHP 8.2 |
| Framework | Laravel 12 |
| Templates | Blade |
| Sessions | Cookie driver |
| Design | Track Night (Bebas Neue, orange #FF5A1F, dark background) |
- Running pace calculator (distance + time → min/km)
- Rank assignment from Iron to Challenger (League of Legends–style tiers)
- Track Night design system — full dark UI with orange accents
- Stateless — no database required
- PHP 8.2+
- Composer
git clone https://github.com/Vitiosum/demo-php-laravel
cd demo-php-laravel
composer install
php artisan serve
# → http://localhost:8000| Variable | Required | Description |
|---|---|---|
APP_KEY |
auto | Pre-set in committed .env |
SESSION_DRIVER |
auto | Set to cookie in committed .env |
No variables need to be set manually.
clevercloud/php.jsonsets the web root to/public— required for Laravel on Clever Cloud.envis committed (APP_KEY included, SESSION_DRIVER=cookie) — intentional for this demo- No database add-on required — the app is fully stateless