pith/framework

Pith Framework - Another simple framework for PHP sites

This package is auto-updated.

Last update: 2024-05-10 00:14:41 UTC


README

Packagist PHP Version Support GitHub

Website | Release Notes

⚠️ (Not ready yet) ⚠️

This framework is a work-in-progress proof-of-concept.

If you're looking for a framework to use for your project, please check out: Symfony, Laravel, Zend / Laminas, Slim, Cake, or CodeIgniter instead.

Install

  • Open the terminal and navigate to the directory your project will be in.
  • Install Composer. Follow the instruction at Download Composer.
  • Require Pith Framework from Composer:
php composer.phar require pith/framework

Nice to haves:

Add a symbolic link to composer.phar

ln -s ./composer.phar ./composer

Copy the Pith Command Tool into the directory

cp vendor/pith/framework/pith .

Copy the Migration runner into the directory

cp vendor/pith/framework/mig .

Make a symbolic link to Pest inside the directory

ln -s ./vendor/bin/pest ./pest

Make a symbolic link to PHPStan inside the directory

ln -s ./vendor/bin/phpstan ./phpstan

ln -s ./vendor/bin/phpstan ./stan

⚠️ (Not ready yet) ⚠️

Workflow:

Pith workflow diagram

.

(Actual flow)

Pith Framework flow diagram