gaucho/phpnext
最新稳定版本:v0.2.1
Composer 安装命令:
composer require gaucho/phpnext
包简介
A PHP routing system for Next.js static HTML without any Node.js in back-end
README 文档
README
A PHP routing system for Next.js static HTML without any Node.js in back-end
Installation
composer require gaucho/phpnext
.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Use
<?php require 'vendor/autoload.php'; use gaucho\PHPNext; $outDir=realpath(__DIR__.'/out'); $pn=new PHPNext($outDir); $pn->print();
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-29