/php-always

An ultra-simple skeleton php application (available as a REST API)

Primary LanguagePHPMIT LicenseMIT

php-always

This is an ultra-simple skeleton php application for pure PHP users.
The currently implemented classes are sample codes that implement basic login and signup feature. If you need a new feature, implement a new class and add it to classes/Controller.class.php to easily implement and manage your web application with MVC patterns. I've deployed many projects based on code from this repository. I'll be implementing some pretty good router class soon. Long live pure PHP.

Classics never die.

Spec

- debian:11-slim
- php8.1-apache
- mariadb-server (latest, as of your build time)

Usage

apt install docker docker-compose

git clone https://github.com/munsiwoo/php-always
cd ./php-always

docker-compose up -d --build

curl http://localhost:8080/
(default port is 8080)

History

- Sep 11, 2018: The simple-mvc-php repository has been made public.
- Mar 14, 2023: The project has been restructured.
(The repository name has been changed from simple-mvc-php to php-always)