Skip to content
Steven Roland

Posts

Laravel's unique Validation Rule: Advanced Usage and Exceptions

This post explains Laravel's advanced unique validation rule, focusing on the unique:table,column,except,idColumn syntax. It provides real-world examples for updating user profiles, product SKUs, and organization subdomains, along with best practices and considerations.

Laravel's exists Validation Rule: Ensuring Data Consistency

This post explains Laravel's exists validation rule, its usage, and provides real-world examples for task assignment, product category selection, and multi-select tagging. It also covers advanced usage, error handling, and best practices.

Laravel's not_in Validation Rule: Excluding Specific Values

This post explains Laravel's not_in validation rule, its usage, and provides real-world examples for preventing reserved usernames, excluding generic product categories, and filtering out common weak passwords. It also covers advanced usage, error handling, and best practices.