2. Version 5.4 of Laravel is now officially
released!
This release has many new features, and improvements
&
Here is a quick glimpse of some of the features.
3. LARAVEL DUSK
Laravel Dusk is overall a browser testing tool for JavaScript enabled
applications i.e button and link clicks within an application. It utilizes
ChromeDriver and Facebook Php-webdriver. It works with the Selenium
browser, but it arrives with ChromeDriver by default that saves you from
installing JDK or Selenium. The main advantage is that Dusk provides handy
helper methods like loginAs that allows to give a user instance.
4. REAL TIME FACADES
In Laravel 5.4, easily converts your application class into a facade. Unlike
previous version, there is no need to create your own facades, the new update
can do it on-demand for you to get rid of countless onlookers.
5. MARKDOWN MAIL & NOTIFICATIONS
Laravel 5.4 arrives with pre-built markdown templates and components for mail
and notifications. This helps developers to generate responsive HTML emails.
When you send email, you can integrate Markdown with Blade components to
provide maximum flexibility.
6. LARAVEL MIX
Elixir API is now followed by Laravel Mix. It is introduced first time in the
updates of Laravel. Though both versions are continued to exist, Mix is
recommended to be build tool wrapper of choice. It is developed in Webpack, and
offers nearly exact same friendly API that you're already used to.
7. REDIS CLUSTER SUPPORT
Now you can get rid of clustering the single host in the the same application. In
the latest update, you can now define Redis connections to number of single
hosts and multiple clusters within the same application.
8. COLLECTIONS
Collections in the latest update provides short-cuts or you can say "higher order
messages" to perform common actions on them. Moreover, Laravel 5.4 has
introduced a host of features that provides the ease for application development
using the framework.
9. BLADE COMPONENTS & SLOTS
Blade components and slots are quite similar to sections and layouts but they
are more easy and flexible way to create templates. If you are known to Vue.js
then this provides pretty much the same.
10. CHANGELOG
Among the different features and improvements in the release of Laravel 5.4,
special attention is given for:
– NEW TRIMSTRINGS AND CONVERTEMPTYSTRINGSTONULL MIDDLEWARE
– “REAL-TIME” FACADES
– CUSTOM PIVOT TABLE MODELS
– JSON BASED LANGUAGE FILES (MORE INFO)
– OBJECT BASED ELOQUENT EVENTS
– JOB LEVEL RETRY & TIMEOUT