pinkary-project/type-guard
A lightweight Pinkary package that brings expressive runtime type guards to PHP and Laravel apps, letting you assert and validate value types safely and fail fast with clear errors instead of scattered manual checks.
pinkary-project/type-guard brings expressive runtime type guards to PHP, letting you assert and narrow value types with a clean, fluent API. Instead of scattering is_string() checks or manual casts through your code, you call a guard that returns a correctly typed value or throws a descriptive exception—keeping your code safe, readable, and friendly to static analyzers.
How can I help you explore Laravel packages today?