raahim / pine
Minimal PHP framework
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.2
- symfony/inflector: ^5.4
- toolkit/pflag: ^2.0
- vlucas/phpdotenv: ^5.5
Requires (Dev)
- symfony/var-dumper: ^7.1
This package is auto-updated.
Last update: 2025-01-03 13:12:54 UTC
README
About Pine
Pine is a minimal PHP Web Framework
Important
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.
Prerequisites
- PHP 8
- Composer
- Node 20
Installation
First clone the repository
git clone https://github.com/raahimfareed/pine.git
Install composer packages
composer install
Optional: 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 install
Run PHP server
php -S localhost:8000
This will run a php server on localhost with port 8000
In a new terminal window, start vite
pnpm dev
Migrations and Models
Note
Migrations and models are not implemented yet, they will be added in the future along with database helpers.