klein.php is a fast & flexible router for PHP 5.3+. Flexible regular expression routing (inspired by Sinatra) A set of boilerplate methods for rapidly building web apps. Almost no overhead. Unit tests are a crucial part of developing a routing engine such as Klein. Added features or bug-fixes can have adverse effects that are hard to find without a lot of testing, hence the importance of unit testing. This project uses PHPUnit as its unit testing framework.

Features

  • Flexible regular expression routing
  • A set of boilerplate methods for rapidly building web apps
  • Almost no overhead
  • PHP 5.3.x is required
  • Install Klein using Composer (recommended) or manually
  • Setup URL rewriting so that all requests are handled by index.php

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Klein

Klein Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Klein!

Additional Project Details

Programming Language

PHP

Related Categories

PHP HTTP Servers, PHP HTTP Clients

Registered

2023-05-10