Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Safe Laravel Package

thecodingmachine/safe

Safe PHP functions: a drop-in wrapper around PHP’s native functions that converts warnings and notices into exceptions, improving type safety and error handling. Includes namespaced alternatives for many standard functions with IDE/static analysis support.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
php-standard-library/filesystem 0.88 Type-safe filesystem helpers for PHP with consistent exception handling. Provides safer wrappers for common file and directory operations, aiming for clearer intent and fewer runtime surprises. Part of the PHP Standard Library ecosystem. 1 1 0 32K 0 21.6 64.9 MIT 1 week ago
View on GitHub
nette/safe 0.84 nette/safe is a lightweight Nette library providing exception-throwing wrappers for risky PHP functions, helping Laravel and PHP projects fail loudly instead of silently returning false. It offers safer file, stream, and process helpers for more reliable error handling. 16 17 2 22K 0 0.1 30.3 NOASSERTION —
View on GitHub
thecodingmachine/phpstan-safe-rule 0.84 PHPStan rule that detects calls to unsafe core PHP functions and suggests the thecodingmachine/safe variants, which throw exceptions instead of returning false on error. Helps catch unsafe function usage during static analysis. 63 62 26 319K 3 20.1 57.0 — 4 months ago
View on GitHub
thecodingmachine/discovery 0.84 Discover PHP classes implementing a given interface by scanning your Composer classmap at runtime. Thecodingmachine/Discovery makes building plugin systems and auto-registering services simple, with no manual configuration or boilerplate required. 101 102 13 1K 3 1.8 17.2 — 4 years ago
View on GitHub
php-standard-library/file 0.84 Typed file handles for safe reading and writing in PHP, with explicit write modes and advisory file locking. Part of PHP Standard Library, designed to make filesystem IO clearer and less error-prone. 1 1 0 102K 0 21.5 64.9 MIT 1 week ago
View on GitHub
php-standard-library/foundation 0.84 Foundation provides the core building blocks for PHP Standard Library packages: a consistent exception hierarchy, the Ref reference wrapper for safe value passing, and invariant functions for validating preconditions and enforcing assumptions. Lightweight, dependency-free, and designed for reuse acr... 1 1 0 105K 0 21.6 64.9 MIT 1 week ago
View on GitHub
webimpress/safe-writer 0.83 Safely and atomically write files in PHP: create temp files, write/flush, then rename into place to avoid partial writes. Handles permissions, directories, and errors for reliable config/cache/log output in CLI and web apps. 375 381 9 742K 1 4.4 45.5 BSD-2-Clause 5 years ago
View on GitHub
phariscope/safephp 0.83 SafePHP provides safer, predictable replacements for common risky PHP operations, helping developers avoid warnings, fatal errors, and security pitfalls. It offers consistent error handling and simple helpers for writing more robust PHP applications. 0 — 0 — 0 0.0 — MIT 1 year ago
php-standard-library/type 0.83 Runtime type validation for PHP built on the Parse, Don't Validate principle: coerce and assert unstructured input into well-typed data, with clear errors when values don't match. 1 1 0 114K 0 21.4 64.8 MIT 1 week ago
View on GitHub
mnapoli/hard-mode 0.83 Hard Mode is a small PHP library by Matthieu Napoli that encourages writing more explicit, robust code by making certain “bad practices” harder or impossible at runtime. Useful for catching hidden assumptions and improving code quality in existing projects. 9 9 1 323 0 1.3 21.0 MIT 6 years ago
View on GitHub
Context7
delight-im/base64 0.83 A flexible PHP library for Base64 encoding and decoding with support for standard, URL-safe, and custom alphabets. It offers strict input validation, padding control, and a clean API with no external dependencies, making binary-to-text conversion safe and easy in any PHP project. 15 16 3 9K 0 0.2 38.2 MIT —
View on GitHub
zbateson/mb-wrapper 0.83 Lightweight PHP wrapper for mbstring that normalizes multibyte string operations across environments. Provides consistent encoding-aware helpers and safe fallbacks when mbstring isn’t available, making string handling more reliable in libraries and apps. 49 49 8 1M 0 23.7 64.9 BSD-2-Clause 4 months ago
View on GitHub
Context7
juststeveking/result 0.83 A lightweight Result type for PHP and Laravel. Return success or failure values instead of throwing exceptions, chain transformations, and handle errors explicitly. Supports ok/err creation, mapping, and unwrapping for clearer, safer, more testable control flow. 4 4 1 0 0 0.4 — MIT 1 year ago
View on GitHub
michael-rubel/laravel-safe-request 0.83 A Laravel package for safer request handling: define validation rules and access only validated input, keeping unvalidated fields out of controllers and services. It helps reduce mass-assignment and untrusted-data risks while keeping form requests simple. 13 13 0 0 0 0.2 — MIT 3 years ago
View on GitHub
malukenho/docheader 0.83 Laravel package that adds and manages standardized documentation headers in your source files. Generate consistent file/class docblocks with project metadata, author, license, and timestamps, helping teams enforce style and keep headers up to date automatically. 68 68 8 8K 2 2.0 29.2 MIT 8 years ago
View on GitHub
Context7
symfony/html-sanitizer 0.83 Symfony's HtmlSanitizer component offers an object-oriented API to clean untrusted HTML for safe DOM insertion. Configure allowed elements, attributes, link schemes, and URL forcing to strip scripts and dangerous markup. 284 283 13 4M 0 36.3 64.9 MIT 1 week ago
View on GitHub
Context7
nette/safe-stream 0.83 Nette SafeStream provides a stream wrapper for atomic file operations, ensuring files are never left partially written or corrupted. It supports file locking and safe concurrent access, making it ideal for writing configs, caches, and logs reliably in PHP applications. 118 — 13 — 0 20.9 — NOASSERTION 1 week ago
j0k3r/php-readability 0.83 PHP library that extracts the main readable content and title from web pages. Based on an improved full-text-rss Readability fork, it offers namespaced code, simple tests, optional Tidy HTML cleanup, and PSR-3 logging for debugging parsing issues. 184 190 38 38K 5 26.8 38.6 Apache-2.0 3 months ago
View on GitHub
graham-campbell/security-core 0.83 Core security utilities for Laravel, providing a lightweight foundation for sanitizing user input, escaping output, and defending against XSS. Powers the graham-campbell/security package and can be used standalone in any PHP or Laravel application. 0 31 — 16K — 0.3 55.3 — —
View on GitHub
php-standard-library/result 0.82 Result type for PHP that captures success or failure as a value, enabling controlled error handling without exceptions. Part of the PHP Standard Library. 1 1 0 104K 0 21.7 65.0 MIT 1 week ago
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console