Pine is a minimal PHP Web Framework
This is just a hobby project and is not complete in any way. If you are looking for a framework that is production compatible, check out Laravel. This is not meant to be used in a production environment. On the other hand, if you stumble upon any issues (which I assume are plenty), please open an issue on github so I can take a look at it.
- PHP 8
- Composer
- Node 20
First clone the repository
git clone https://github.com/raahimfareed/pine.gitInstall composer packages
composer installOptional: If you intend on using ViteJS, you can install all js packages
We use pnpm for this but, you can use any package manager for node
pnpm install
# Or
npm installRun PHP server
php -S localhost:8000This will run a php server on localhost with port 8000
In a new terminal window, start vite
pnpm devNote
Migrations and models are not implemented yet, they will be added in the future along with database helpers.