Libraries tagged by safe
jeffersongoncalves/laravel-markdown
825 Downloads
A shared CommonMark renderer for Laravel with GitHub Flavored Markdown, optional heading permalinks, and server-side syntax highlighting (class-based tokens) via tempest/highlight. Safe by default: raw HTML is escaped unless you opt in to html_input=allow for trusted content. Requires PHP 8.4 because the syntax highlighter tempest/highlight requires it from 2.26 onward.
jeffersongoncalves/laravel-image-cache
626 Downloads
SSRF-safe remote image fetch-and-cache for Laravel: pinned redirect-safe download, image content-type validation, and TTL-based disk caching
jeffersongoncalves/laravel-html-sanitizer
841 Downloads
This Laravel package provides a simple wrapper around the Symfony HTML Sanitizer to safely clean untrusted HTML. It strips scripts, inline event handlers, and Alpine attributes while keeping the presentational subset (headings, lists, tables, code blocks, images, links) that rendered Markdown and READMEs need. The package is easy to install and configure, seamlessly integrating with your existing Laravel application.
jcubic/expression
11161 Downloads
Safely evaluate math, string, and boolean expressions
itools/smartstring
51067 Downloads
XSS-safe strings for PHP templates: values HTML-encode themselves on echo, interpolation, and concatenation, at least 3x faster than calling htmlspecialchars() yourself
itools/smartarray
51392 Downloads
XSS-safe collections for PHP templates: database rows with fields that HTML-encode themselves, plus chainable filtering, sorting, and grouping
istiak-tridip/laravel-sqids
13909 Downloads
Laravel wrapper for Sqids to obscure database IDs with unique, URL-safe identifiers.
hydrakit/view
1190 Downloads
Native PHP templating with template inheritance and escape-by-convention safety. No compile step.
hpwebdeveloper/laravel-env-settings
127 Downloads
Environment-aware, type-safe configuration classes for Laravel. Move non-secret values out of .env and into typed, IDE-friendly PHP classes.
hostnet/database-test-lib
65086 Downloads
Provide a real database, safe for testing purposes
horde/constraint
6328 Downloads
Modern constraint library with PHP 8.1+ type safety
hipsterjazzbo/editor
25664 Downloads
A clean, elegant, unicode-safe, fluent, immutable, localisable, dependency-free string manipulation library for PHP 7.1+
grazulex/laravel-snapshot
206 Downloads
A powerful Laravel package for tracking, storing and comparing snapshots of your Eloquent models — cleanly and safely.
grazulex/laravel-api-idempotency
900 Downloads
RFC-compliant idempotency support for Laravel APIs - Prevent duplicate operations, ensure safe retries
grantholle/laravel-username-generator
70176 Downloads
Generate a random, kid-safe username.