Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
klein
/
klein.php
Public
Notifications
You must be signed in to change notification settings
Fork
284
Star
2.7k
Code
Issues
71
Pull requests
24
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
From 100x to 1000x faster
- #419
#419
Open
Ostico
wants to merge 65 commits into
klein:master
klein/klein.php:master
from
matecat:master
matecat/klein.php:master
Copy head branch name to clipboard
Conversation
Commits
65
(65)
Checks
Files changed
Open
From 100x to 1000x faster
#419
Ostico
wants to merge 65 commits into
klein:master
klein/klein.php:master
from
matecat:master
matecat/klein.php:master
Copy head branch name to clipboard
Commits
Commits on Oct 14, 2025
Works without warnings in PHP 8.3
Show description for 90e2014
Ostico
committed
90e2014
View commit details
Copy full SHA for 90e2014
Browse repository at this point
Commits on Oct 15, 2025
Save
Ostico
committed
5e27d90
View commit details
Copy full SHA for 5e27d90
Browse repository at this point
Commits on Oct 16, 2025
Tested for PHP 8.3
Ostico
committed
c19661e
View commit details
Copy full SHA for c19661e
Browse repository at this point
Commits on Oct 17, 2025
Phpstan lvl 7
Ostico
committed
b775f07
View commit details
Copy full SHA for b775f07
Browse repository at this point
Removed TODO for deprecation
Ostico
committed
1ed1987
View commit details
Copy full SHA for 1ed1987
Browse repository at this point
Updated ChangeLog
Ostico
committed
1a5449d
View commit details
Copy full SHA for 1a5449d
Browse repository at this point
Updated ChangeLog
Ostico
committed
b47bc09
View commit details
Copy full SHA for b47bc09
Browse repository at this point
Updated Ip validaiton tests
Ostico
committed
eea2527
View commit details
Copy full SHA for eea2527
Browse repository at this point
Updated travis.yml
Ostico
committed
4244ce5
View commit details
Copy full SHA for 4244ce5
Browse repository at this point
Updated travis yml
Ostico
committed
52ddc94
View commit details
Copy full SHA for 52ddc94
Browse repository at this point
Updated travis.yml to support coverage
Ostico
committed
4dde647
View commit details
Copy full SHA for 4dde647
Browse repository at this point
Removed tests for php8.3 (bug)
Ostico
committed
434cd87
View commit details
Copy full SHA for 434cd87
Browse repository at this point
Fix: PHP8.4
Show description for 5c5041d
Ostico
committed
5c5041d
View commit details
Copy full SHA for 5c5041d
Browse repository at this point
Fixed implicit nullable type hint definition
Ostico
committed
7a0747b
View commit details
Copy full SHA for 7a0747b
Browse repository at this point
Removed deprecations for implicit nullable method type hints
Ostico
committed
6822db6
View commit details
Copy full SHA for 6822db6
Browse repository at this point
Merge pull request #1 from matecat/php8.3
Show description for 37c32a8
Ostico
authored
37c32a8
View commit details
Copy full SHA for 37c32a8
Browse repository at this point
Update coding standards from PSR-2 to PSR-12
Ostico
authored
462a91c
View commit details
Copy full SHA for 462a91c
Browse repository at this point
Update README to remove PHP version specification
Show description for 1730d52
Ostico
authored
1730d52
View commit details
Copy full SHA for 1730d52
Browse repository at this point
Updated Readme
Ostico
committed
3ce129c
View commit details
Copy full SHA for 3ce129c
Browse repository at this point
Updated package name in composedr.json
Ostico
committed
8ffe198
View commit details
Copy full SHA for 8ffe198
Browse repository at this point
Commits on Oct 18, 2025
Faster: ~10x, searching for more optimizations
Ostico
committed
933bc37
View commit details
Copy full SHA for 933bc37
Browse repository at this point
Route regexp generation inside the route object
Show description for 9bca3a9
Ostico
committed
9bca3a9
View commit details
Copy full SHA for 9bca3a9
Browse repository at this point
Implemented PSR-6 cache
Ostico
committed
ecb7271
View commit details
Copy full SHA for ecb7271
Browse repository at this point
Commits on Oct 19, 2025
Removed is_callable redundant check
Ostico
committed
27c5b5b
View commit details
Copy full SHA for 27c5b5b
Browse repository at this point
Improved static routes check
Ostico
committed
93927b4
View commit details
Copy full SHA for 93927b4
Browse repository at this point
Little more optimizations in Rote class and Klein
Ostico
committed
336c4c7
View commit details
Copy full SHA for 336c4c7
Browse repository at this point
Little refactory to remove method from Klein class
Ostico
committed
4e39892
View commit details
Copy full SHA for 4e39892
Browse repository at this point
Implemented Radix Tree algorithm
Ostico
committed
1493e6f
View commit details
Copy full SHA for 1493e6f
Browse repository at this point
Commits on Oct 20, 2025
Improvement:
Show description for f954112
Ostico
committed
f954112
View commit details
Copy full SHA for f954112
Browse repository at this point
Speed increase: +100x
Show description for 6d2c9b8
Ostico
committed
6d2c9b8
View commit details
Copy full SHA for 6d2c9b8
Browse repository at this point
After benchmarks, removed PSR-6
Ostico
committed
52900bb
View commit details
Copy full SHA for 52900bb
Browse repository at this point
Commits on Oct 21, 2025
Little improvements
Ostico
committed
984edc8
View commit details
Copy full SHA for 984edc8
Browse repository at this point
Update Upgrading.md
Ostico
committed
06c6ac2
View commit details
Copy full SHA for 06c6ac2
Browse repository at this point
Commits on Oct 22, 2025
More micro optimizations
Ostico
committed
a6fc9df
View commit details
Copy full SHA for a6fc9df
Browse repository at this point
More optimizations
Ostico
committed
5f70e58
View commit details
Copy full SHA for 5f70e58
Browse repository at this point
Commits on Oct 23, 2025
Improvements for static routes
Ostico
committed
11c0155
View commit details
Copy full SHA for 11c0155
Browse repository at this point
RC
Ostico
committed
d2c7297
View commit details
Copy full SHA for d2c7297
Browse repository at this point
Removed coverage from Travis CI
Ostico
committed
456b252
View commit details
Copy full SHA for 456b252
Browse repository at this point
Commits on Oct 24, 2025
Fixed bug in Header response
Ostico
committed
be67b50
View commit details
Copy full SHA for be67b50
Browse repository at this point
Commits on Oct 27, 2025
Fixed dynamic detection on namespaces
Ostico
committed
7961e43
View commit details
Copy full SHA for 7961e43
Browse repository at this point
Added test for dynamic namespace
Ostico
committed
d842754
View commit details
Copy full SHA for d842754
Browse repository at this point
Commits on Oct 28, 2025
Renamed Request::method to Request::httpMethod to allow klein to be
Show description for 30054d9
Ostico
committed
30054d9
View commit details
Copy full SHA for 30054d9
Browse repository at this point
Commits on Feb 18, 2026
Refactor tests and benchmarks; namespace updates and improvements.
Show description for 40c7731
Ostico
committed
40c7731
View commit details
Copy full SHA for 40c7731
Browse repository at this point
fix: resolve all PHPStan static analysis errors
Show description for a5526b7
Ostico
committed
a5526b7
View commit details
Copy full SHA for a5526b7
Browse repository at this point
Fixed analisys tool
Ostico
committed
5f626b3
View commit details
Copy full SHA for 5f626b3
Browse repository at this point
Commits on Feb 19, 2026
refactor: add declare(strict_types=1) to all source files and fix type safety
Show description for ca6f615
Ostico
committed
ca6f615
View commit details
Copy full SHA for ca6f615
Browse repository at this point
Update Packagist badge link in README.mdUpdated Readme (packagist badge)
Ostico
authored
dde2f74
View commit details
Copy full SHA for dde2f74
Browse repository at this point
Commits on Apr 9, 2026
Technical docs
Ostico
committed
aeb641c
View commit details
Copy full SHA for aeb641c
Browse repository at this point
Merge branch 'master' of github.com:matecat/klein.php
Ostico
committed
b6c0163
View commit details
Copy full SHA for b6c0163
Browse repository at this point
Commits on Apr 28, 2026
Update CHANGELOG for release 3.2.3 with features, refactoring, and documentation additions.
Ostico
committed
9ac9ab8
View commit details
Copy full SHA for 9ac9ab8
Browse repository at this point
Commits on Apr 30, 2026
Add PHPStan analysis step to Travis CI configuration
Ostico
committed
15de174
View commit details
Copy full SHA for 15de174
Browse repository at this point
Remove redundant PHPStan JSON report output from Travis CI configuration
Ostico
committed
741c75e
View commit details
Copy full SHA for 741c75e
Browse repository at this point
🐛 fix(router): skip numeric regex keys in paramsNamed to satisfy PHPStan type contract
Ostico
committed
9afcba4
View commit details
Copy full SHA for 9afcba4
Browse repository at this point
Commits on Jun 1, 2026
👷 ci: migrate from Travis CI to GitHub Actions
Show description for 9d782be
Ostico
committed
9d782be
View commit details
Copy full SHA for 9d782be
Browse repository at this point
✨ refactor: enhance PHPStan type annotations and improve code clarity
Ostico
committed
8019f88
View commit details
Copy full SHA for 8019f88
Browse repository at this point
✨ feat(markdown): enhance XSS protection and improve link handling in markdown conversion
Ostico
committed
2b721f7
View commit details
Copy full SHA for 2b721f7
Browse repository at this point
🐛 fix(composer): remove redundant xdebug extension entry from composer.json
Ostico
committed
022575f
View commit details
Copy full SHA for 022575f
Browse repository at this point
✨ refactor(test): update method signature to allow nullable array for mocked methods
Ostico
committed
f7d28fe
View commit details
Copy full SHA for f7d28fe
Browse repository at this point
✨ ci: add environment variable to force JavaScript actions to Node 24
Ostico
committed
fda974f
View commit details
Copy full SHA for fda974f
Browse repository at this point
✨ ci: update actions/checkout and actions/cache to latest versions
Ostico
committed
5f5ac12
View commit details
Copy full SHA for 5f5ac12
Browse repository at this point
✨ ci: update actions/upload-artifact and actions/download-artifact to latest versions
Ostico
committed
aa3781a
View commit details
Copy full SHA for aa3781a
Browse repository at this point
✨ ci: update SonarCloud scan action to version 8
Ostico
committed
3ab0203
View commit details
Copy full SHA for 3ab0203
Browse repository at this point
📝 docs: update CHANGELOG for release 3.3.0
Show description for 2527fa2
Ostico
and
claude
committed
2527fa2
View commit details
Copy full SHA for 2527fa2
Browse repository at this point
Merge pull request #3 from matecat/release/v3.3.0
Show description for 3009577
Ostico
authored
3009577
View commit details
Copy full SHA for 3009577
Browse repository at this point
Commits on Jul 14, 2026
✨ feat(router): preserve route registration order in dispatching
Show description for 261f470
Ostico
committed
261f470
View commit details
Copy full SHA for 261f470
Browse repository at this point
You can’t perform that action at this time.