Inphinit 2.1 is here!
Version 2.1 brings a host of new features to make development more productive, secure, and flexible.
✨ What's new
- Command-line commands: create your own commands to automate tasks.
- HTTP content negotiation: deliver the right response based on the
Acceptheaders. - Built-in CSV and TSV reader: read tabular files without relying on external libraries.
- HTTP caching with ETag support: speed up the dynamic responses of your routes.
- Markdown to HTML converter: turn Markdown into HTML with ease.
- Task scheduling: schedule routines to run at the right time.
- CSS selectors in PHP: read and extract data from documents and HTTP responses using CSS selectors, directly in PHP.
- Proxy and load balancer support: works well on servers behind reverse proxies and load balancers.
Data validation
Validate form fields, array inputs, and JSON with the following rules:
| Rule | Description |
|---|---|
boolean | Accepts On, Yes, True, 1, Off, No, False, and 0 |
decimal | Validates and converts the value to float |
integer | Validates and converts the value to int |
equals:<field> | Compares the value with another field |
email | Validates the email format |
url | Validates that the value is a valid URL |
in:<a,b,c> | Accepts only values from the list |
max:<n> | Maximum value (decimal and integer) or maximum length (strings) |
min:<n> | Minimum value (decimal and integer) or minimum length (strings) |
regex:<pattern> | Validates against a regular expression |
required | Required field |
cpf | Validates a Brazilian CPF |
cnpj | Validates a Brazilian CNPJ |
ip | Validates an IP address |
password | Validates a password |
Utilities
- Helpers for working with Arrays, Strings, URLs, and versions.
- Integration with
X-Accel-Redirect,X-LIGHTTPD-send-file, andX-Sendfileto serve files more efficiently.
🛡️ Checkup
A new tool that analyzes your PHP and application configurations and provides guidance on partially mitigating known issues, such as:
- CVE-2026-115560
- CVE-2026-109619
- CVE-2026-109618
Supported servers
Now with support for different web servers, with documentation that provides examples of how to configure the basics:
- Apache
- Caddy and FrankenPHP
- IIS and IIS Express
- Lighttpd
- Nginx
Documentation:
And finally, we have well-organized and guided documentation:

