PHP laravel have introduce new version laravel 5.8 with new features.Laravel 5.8 included new highlights like store TTL changes and lock, Deprecate string and exhibit partner strategies, refresh email approval, Automatic Policy Resolution, PHP dotenv, included first were a capacity in the gathering, database MySQL JSON esteem and so forth. Let's see some important updates on latest version that will help use in our next project. Added blade template file path in compiled file Unlike laravel 5.7 or laravel 5.6 for compiled blade files, there are no file path of complied files In laravel 5.8 they give way of cutting edge format record Change Cache TTL in seconds Laravel 5.8 refresh store time in TTL in minutes into seconds. so basically, you need to add time in seconds in put(), putMany(), add() and remember(). Update Email Validation Rule In this feature, laravel 5.8 updated email validation rule , will now allow international characters in email addresses. Added firstwhere in collection. Laravel 5.8 included new capacity firstWhere() with gathering object. you can get single object using firstWhere method instead of first().
Laravel 5.8 will bolster the relatively new dotenv 3.0 to deal with your project's .env condition file.The key new highlights in dotenv 3.0 are support for multiline strings and void area at the end of strings in your environment file Unquoted MySQL JSON values in Database. This feature for json datatype column supported only the query builder will now return unquoted JSON values when using MySQL and MariaDB. New mistake page layouts Laravel 5.8 give new mistake page layouts (cutting edge see). We can utilize this layout for default 404 page. Carbon 2.0 Support Laravel 5.8 offers help for the ~2.0 release of the Carbon date control library.
Pheanstalk 4.0 Support Laravel 5.8 offers help for the ~4.0 release of the Pheanstalk line library. On the off chance that you are utilizing Pheanstalk library in your application, it would be ideal if you overhaul your library to the ~4.0 release by means of Composer.