Skip to main content

Laravel 5.8.33: Let’s Talk About All New Email Validation Rule Options In It

Laravel 5.8 Email Validation

The team of Laravel has released all-new v5.8.33 in the month of August. These new versions have new capabilities added to the email validation rule that include the latest changes and some of the fixes.

Let’s have a look at the changes:
  • From requests a user can now provide a passedValidation() callback that will fire once the validation has passed:

public function passedValidation()

{
       $this->replace(['name' => 'Adam']);
}
  • These passedValidation callbacks can be helpful for applying filters to data without intrusive with validation.
  • The new type of email validation support has been implemented by Dries Vints using the egulias/EmailValidator package.
  • When checking for valid emails, the improved email validation rule acquaints the ability to add multiple email validators.

Example:

$request->validate([

    'email' => 'email:rfc,dns'

]);

By referring to the latest laravel validation documentation for 5.8 you can get to know about the new parameters possible in the email validation rule. The possible rules include strict, spoof, dns, and rfc filter.

Another support added by Dries Vints is for Redis 5.0 in a backward-compatible way so that all can support v5.0 in starting in this release.

For MySQL and Postgres ‘insert ignore’ support was added and to learn it in detail you need to check out add insert ignore support on GitHub.

Ignore works during an insert that means if the database runs into errors, it generally terminates and doesn’t insert any rows. While with ignore, the database will ignore invalid data and insert valid rows.

The amazing last feature that is added is the ability to use the custom, Whoops Handler. For more details, you can check on GitHub.

Have A Look On Whole Difference Between 5.8.32 and 5.8.33 as per on GitHub:

v5.8.33 :

Added 
  • Implement new types for email validation support
  • Added ValidatesWhenResolvedTrait::passedValidation() callback
  • Allowed to override the existing Whoops handler
  • Added Redis 5 support
  • Added insert or ignore support

Fixed
  • Avoid undefined index errors when using AWS IAM
  • Fixed exception message in the ProviderRepository::writeManifest()
  • Fixed command testing of output and questions expectations
  • Added ignoring of classes which are not instantiable during event discovery
  • Fixed non-displayable boolean values invalidation messages 
  • Used real class name for seeders in the output
  • Fixed invalid link expiry count in ResetPassword

Refactoring
  • Simplified isset()

Why To Wait?


 laravel application development

Get in touch with Concetto Lab to get the best applications and reshape your business today.

We provide apps that are elevated in performance and quality with laravel application development in minimal cost. Our laravel development services includes laravel customization and integration, website migration using laravel, laravel framework development, and laravel support & maintenance.

Comments

Popular posts from this blog

How Much Does It Cost To Hire An App Developer In 2019?

It is considered a very important question that how much it effectively costs for the purpose of hiring an app developer and that too in the year 2019. Nowadays, due to the rising trend, it is very important to hire iPhone developer. Also, it seems that each business, as well as every brand, has its own app in the year 2019. In that way, you can also hire iPhone app developer India. Even, there are many of the local coffee shops which possess an app for the purpose of ordering a frappuccino available at your doorstep or you can collect it on discounts. For developing these apps, sometimes it becomes very important to preferably hire iPhone programmer. There is a gradual presence of many of the IT entrepreneur who is usually making a fortune from a hit app. So, here are given some of the ever-actual issues of how to  hire iPhone app developer  for the development purpose. We will preferably talk about some of the important as well as general tips which can prove helpful to hire io

Get Familiar With AWS SDK In .NET Core

In this post, we will see how to get started with AWS SDK for dot NET core. How it helps in creating  .NET core applications . The main objective is to gain foundation-level knowledge. It can be useful for starting developing .NET applications with AWS SDK. There are many aspects to get familiar with AWS SDK used for dot NET core. To take an initiation towards it, one must know from where to start and how to use it. Few topics that we are going to elaborate on here for AWS are What Is the AWS SDK? How can be secure with AWS Requests? What are the ways for Creating a user in AWS IAM? How to apply for the AWS credentials locally? Is it necessary for registering credentials? What are  AWS .Net core SDK  Essentials? What is the AWS SDK? To manage and consume AWS services and resources, AWS SDK provides access. The SDK libraries are available via Nuget as several packages related to AWS services. You can even access AWS via a variety of tools such as AWS Console or the AWS CLI experience. W

Engagement Models For Laravel Application Development

  In the mobile app, the development backend holds prime importance. It has a trusted and dependable technology that would take good care of your backend operations with ease. For this purpose, Laravel creator said, “we want to simplify the development process”. Today the Laravel 5.4 is the latest released version that enforces the same ideology with new features. Leverage the best Laravel application development service & create a well-tailored web app. Hire a Laravel development company to scale business growth. Laravel provides predefined architecture and customized backend logic to stand out differently from the crowd. Hire Laravel developers in India and choose the company that understands your needs. We are one of the best leading web application development companies in India. We offer a wide range of engagement models that suits our customer’s needs. Let’s dive into understanding the engagement models in a better way. What are engagement models? An engagement model is a