Skip to content

dalang-io/example-app-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Example PHP App

A simple PHP landing page with HTMX and DaisyUI, ready to deploy on Dalang.io.

Tech Stack

  • PHP 8.3 - Server-side scripting
  • HTMX 2.0 - Dynamic HTML updates without JavaScript
  • DaisyUI - Tailwind CSS component library
  • PHP Built-in Server - Lightweight web server
  • Docker - Containerization

Features

  • Responsive landing page design
  • Real-time server clock (HTMX polling)
  • Interactive greeting changer (HTMX click)
  • PHP version and server info display
  • Clean, modern UI with DaisyUI components

Local Development

# Run with PHP built-in server
php -S localhost:8000

# Or with Docker
docker build -t example-app-php .
docker run -p 8000:8000 example-app-php

Deploy on Dalang.io

  1. Fork this repository
  2. Go to Dalang.io Dashboard
  3. Connect your GitHub account
  4. Select this repository
  5. Deploy!

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published