raahim/pine
Composer 安装命令:
composer create-project raahim/pine
包简介
Minimal PHP framework
README 文档
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.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-18