Lara Path

A secure, fluent path builder for PHP with sanitization strategies and Laravel 11-12 integration.

Lara Path

  • ๐Ÿ”’ย Security First: Built-in protection against directory traversal attacks with comprehensive validation
  • ๐ŸŽฏย Fluent API: Clean, readable path building with method chaining
  • ๐Ÿ”งย Sanitization Strategies: Multiple strategies for different use cases (hash, slug, snake_case, timestamp)
  • ๐Ÿ“ย Extension Preservation: Automatic file extension preservation during sanitization
  • ๐Ÿš€ย Immutable Operations: Thread-safe path building with no side effects
  • ๐Ÿ—๏ธย Strategy Pattern: Extensible sanitization system with automatic validation
  • ๐ŸŽจย Type Safety: Full type hints and IDE autocompletion
  • ๐Ÿ“ฆย Laravel Integration: Optional Laravel Storage facade integration
  • โšกย Error Handling: Comprehensive exception handling with specific error types

Featured Projects

...

857

GastroVote

Decide Where Your Favorite Restaurant Chains & Franchises Open Next

...

1064

PostFlow

Schedule & manage your social media content

...

1573

Own Your Software

Find the best one-time purchase alternatives to popular subscription tools and never pay another subscription ever again.