piotrpress/wordpress-router

This library adds WordPress routing to PHP built-in web server

v1.0.1 2023-01-08 23:10 UTC

This package is auto-updated.

Last update: 2024-12-09 03:22:48 UTC


README

This script is WordPress router for PHP built-in web server.

This is the equivalent of Apache’s RewriteRules in .htaccess file.

Installation

$ composer require piotrpress/wordpress-router 

Usage

$ php -S localhost:80 vendor/piotrpress/wordpress-router/res/rewrite.php

License

MIT