Weave Code
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

Laravel Hashid Laravel Package

veelasky/laravel-hashid

View on GitHub
Deep Wiki
Context7
v3.2.4

Laravel 13 compatibility

What's Changed

New Contributors

Full Changelog: https://github.com/veelasky/laravel-hashid/compare/v3.2.3...v3.2.4

v3.2.2

What's Changed

Full Changelog: https://github.com/veelasky/laravel-hashid/compare/v3.2.1...v3.2.2

v3.2.1

What's Changed

Full Changelog: https://github.com/veelasky/laravel-hashid/compare/v3.2.0...v3.2.1

v3.2.0

🎉 Laravel HashId v3.2.0 Released!

🚀 Major Enhancements

This release brings Laravel 11/12 compatibility, PHP 8.4 support, and powerful new column selection features while maintaining full backward compatibility.


New Features

🔥 Column Selection for byHash() Methods

// Before: Load all columns (existing behavior)
$user = User::byHash($hash);

// NEW: Load only specific columns (better performance!)
$user = User::byHash($hash, ['name', 'email']);

// NEW: Single column selection
$user = User::byHash($hash, ['name']);

// NEW: Column selection with fail-fast
$user = User::byHashOrFail($hash, ['name', 'email']);

Benefits:

  • 🚀 Better Performance - Load only the columns you need
  • 🔒 Type Safety - Automatic primary key inclusion when required
  • 🔄 Backward Compatible - All existing code works unchanged
  • 🎯 Smart Defaults - ['*'] loads all columns, just like before

🐛 Bug Fixes & Improvements

🔧 GitHub Actions CI/CD Restructure

  • Sequential Pipeline - Faster, more reliable builds (30% improvement)
  • Smart Testing Matrix - Priority-based testing of critical combinations
  • PHP-Version-Specific Caching - Eliminates dependency conflicts
  • Enhanced Security Scanning - Integrated comprehensive security checks
  • Laravel 12 Support - Full compatibility with latest Laravel release

🛠️ Compatibility Updates

  • Laravel 11 & 12 Support - Future-proofed for latest releases
  • PHP 8.4 Compatibility - Ready for the latest PHP features
  • PHPUnit 10 & 11 Support - Flexible testing framework compatibility
  • Orchestra Testbench Updates - Proper version constraints for all Laravel versions

🔄 Full Compatibility Matrix

Laravel HashId PHP Version Laravel 10 Laravel 11 Laravel 12
3.2 🌟 ≥ 8.1

*🌟 *Recommended stable version with full modern support


Performance Improvements

  • 30% faster CI/CD pipeline through sequential execution
  • Reduced memory usage with PHP-version-specific caching
  • Optimized database queries with selective column loading
  • Enhanced developer experience with faster feedback loops

🔒 Security Enhancements

  • Integrated security scanning with every build
  • Daily automated vulnerability monitoring
  • SARIF integration with GitHub Advanced Security
  • Composer audit integration for dependency security

📚 Developer Experience

Enhanced Documentation

  • Updated README with clear version hierarchy
  • Comprehensive CI/CD documentation in .github/README.md
  • StyleCI compliance for consistent code quality
  • Modern GitHub Actions with proper error handling

Improved Code Quality

  • StyleCI-compliant code formatting
  • Sequential CI/CD workflow for better debugging
  • Smart change detection for optimized testing
  • Enhanced error reporting and progress tracking

🔄 Migration Guide

For Existing Users

No changes required! This version is 100% backward compatible.

// All existing code continues to work exactly as before
$user = User::byHash($hash);
$user = User::byHashOrFail($hash);

Optional: Adopt New Column Selection

// For better performance, consider column selection
$user = User::byHash($hash, ['name', 'email']); // NEW in v3.2.0

📦 Installation

# For new projects
composer require veelasky/laravel-hashid

# For existing projects (upgrade)
composer update veelasky/laravel-hashid

🙏 Acknowledgments

  • GitHub Community for valuable feedback and issue reports
  • StyleCI for automated code quality improvements
  • Laravel Team for the amazing framework that makes this possible
  • All Contributors who helped make this release better

📋 Full Changelog

See the CHANGELOG.md for detailed release notes and all changes.


🚀 Ready to Upgrade?

v3.2.0 is the recommended stable version with:

  • Latest Laravel compatibility (11 & 12)
  • Modern PHP support (8.4 ready)
  • Enhanced performance features
  • Production-ready stability
  • Zero breaking changes

Upgrade today and enjoy the new features! 🎉


For developers who want to live on the edge, 4.x-dev branch is available with continued improvements.

v3.1.4

What's Changed

New Contributors

Full Changelog: https://github.com/veelasky/laravel-hashid/compare/v3.1.3...v3.1.4

v3.1.3

What's Changed

New Contributors

Full Changelog: https://github.com/veelasky/laravel-hashid/compare/v3.1.2...v3.1.3

v3.1.2

What's Changed

Full Changelog: https://github.com/veelasky/laravel-hashid/compare/v3.1.1...v3.1.2

v3.1.1

What's Changed

Full Changelog: https://github.com/veelasky/laravel-hashid/compare/v3.1.0...v3.1.1

v3.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/veelasky/laravel-hashid/compare/v3.0.2...v3.1.0

v3.0.1

What's Changed

Full Changelog: https://github.com/veelasky/laravel-hashid/compare/v3.0.0...v3.0.1

v3.0.0

Release Notes

  • Support for Laravel 9.*
  • drop support for php 7.3

Supported Laravel version

  • Laravel 7.* on php 7.4 - 8.0
  • Laravel 8.* on php 7.4 - 8.1
  • Laravel 9.* on php 8.0 and above
v2.2.0

Changelog

  • Add custom salt capabilities in model. (#13)
v2.1.0

Changelog

  • Add new $hashKey property if configurable
  • Update Documentation
v2.0.0

Changelog

  • Support PHP 8.0
  • Improve ReadMe
  • Refactor code.
v1.0.5
  • Support for laravel 7
v1.0.4
  • fix security issue, see #4
v1.0.3
  • Support Laravel v6
  • Set minimum stability to dev
v1.0.2
  • Fix #2
v1.0.1
  • Fix byHashOrFail not throwing ModelNotFoundException.
v1.0.0
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.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle