Make it yours

This site is your
starting point.

The pages, the styles, the examples, and the small core underneath. All in one folder.

Download the starter

Version 1.0.1 · PHP 8.3+ · Everything included

Unzip. Start PHP. Open your browser.

cd phpcornerstone
php -S localhost:3000 -t public tools/server.php

Visit http://localhost:3000. Edit pages/index.php to change the homepage. Add a PHP file to make another page.

No Composer install, database setup, or frontend build is needed for the download. You only need a working PHP installation.

Read the getting-started guide or understand it through the examples before downloading anything.

Start a site with Composer.

Prefer the command line? Create a new site with Composer:

composer create-project madlab/phpcornerstone my-site
cd my-site
composer start

Already have a PHP project? Add just the routing with Composer.

Free and open source under the MIT license. Browse the code on GitHub.