Hey guys, Another Thursday and Laravel newsletter is here for you. This time I will show you what links you have clicked the most in 2016 (see the article below) - should be interesting, huh?
Also, of course - the biggest news is Laravel 5.4 official release. Not only that - I've gathered some articles and videos for you with the newest tutorials about new version. Are you planning to upgrade your projects?
And, as usual, a lot of random Laravel articles from all over the web - more than 30 of them! So let's dive in.
Articles from Laravel Daily blogs
Laravel 5.4 Release
Laravel 5.4 Is Now Released
laravel-news.com
Version 5.4 of Laravel is now officially released! This release has many new features, and improvements and here is quick video going over some of the highlights: Laravel Dusk is an end-to-end browser testing tool for JavaScript enabled applications.
Using BootForms with Laravel 5.4
medium.com
Adam Wathan’s BootForms makes it painless to work with Bootstrap forms in your Laravel Blade templates. If you’ve been using BootForms and just upgraded to Laravel 5.4, you might have run into some issues with your views.
Building a Realtime Chat App with Laravel 5.4 and VueJS
jplhomer.org
With the announcement of Laravel Dusk, a browser automation and testing API tool, I noticed a cool chunk of demo code. It represents a realtime app that features user interacting using WebSockets: This inspired me to build an app for which I could use that same exact snippet of code.
Laravel-related articles from all the web
Let’s compare Laravel and Doctrine migrations
medium.com
This article is targeted on Laravel beginners. No skills required whatsoever. Article is a tad opinionated, so take it with a grain of salt. Also, details are omitted for the sake of brevity. Thus I will do the actual comparison as well as give several hints to get started.
Methods Are Affordances, Not Abilities
adamwathan.me
In one of my current projects, I needed to be able to broadcast email announcements to all of the users in the system. An Announcement is just some words shouted into a crowd or printed in the newspaper. Words can't print themselves, that doesn't make any sense!
Create a Laravel Workbench for Package Development
medium.com
A workbench is a project dedicated for creating all your packages. It has all advantages, like autoloading. I got my information from a clear topic on Laracasts. But I saw the post was older, so I checked if it still works, and wrote about it in this article.
Laravel reCaptcha, spam catching Laravel style
www.tomerbe.co.uk
If you want or need to prevent spam from coming through on your website, via contact forms, comment forms or any type of form. Then a captcha is a must have. I created a Laravel package for easily adding Google reCaptcha to your website. Personally, I use Google reCaptcha all the time.
PhpStorm EAP adds support for Blade Components and Slots
laravel-news.com
JetBrains has just released PhpStorm 2017.1 EAP build (171.2613) and through the Laravel plugin, it now supports the new Laravel 5.4 components and slots feature. You can read more about this release on their announcement post and download it through their site or from the JetBrains Toolbox App.
Laravel Dusk on Homestead
medium.com
Having been playing with Dusk for the last couple of days, I became aware that several people were trying to use it in a slightly different way from my approach. Several people were asking on the testing channel on Slack about how to get it working on Homestead.
rapidwebltd/Improved-Polymorphic-Eloquent-Builder
github.com
Attempting to use whereHas queries with standard Eloquent polymorphic relationships will fail, due to Eloquent being unable to determine the correct model to retrieve. The 'Improved Polymorphic Eloquent Builder' is a class which extends the Eloquent Builder class that is built in to Laravel 5.1.
Working with Laravel Dusk
medium.com
An exciting (for me anyway) new piece of functionality coming in Laravel 5.4 is Laravel Dusk, providing an expressive, easy-to-use browser automation and testing API. I’ve been working on a new application recently, and was holding off on introducing browser tests until 5.4 got released.
Getting Started with Caching in Laravel 5.3
www.youtube.com
In this video I explain the theory and demonstrate how to use View Composers to bind data to your views.1 - Introduction - 00:152 - What happens to Cached data - 00:433 - Benefits of Caching - 01:014 - Things to be aware of- 02:135 - The Cache Facade - 03:396 - Brief overview of Memcached - 04:26Rev
Why I Love Laravel And You Should Too
hashnode.com
Laravel has exploded in popularity. It has become one of the most popular, and widely used PHP frameworks in a short span of time. It's been close to 2 years since I have started using it; and I must confess, Laravel is indeed an elegant framework.
svenluijten/artisan-view
github.com
This package adds a couple of view-related commands to Artisan in your Laravel projects. It is super simple to use and easy to understand for everyone. All contributions (in the form on pull requests, issues and feature-requests) are welcomed. See the contributors page for all contributors.
Browser tests with Laravel Dusk
christoph-rumpel.com
With Laravel 5.4 there will be also a new testing tool available called Dusk. Do we really need another testing tool? Yes we do! Let’s see why.The pain point So I guess we are all already at the point where we know that testing is very important.
JordanDalton/LaravelDuskAutoPay
github.com
Okay, so Laravel dusk is pretty amazing. The other day I was making my utility payment online which I encountered my monthly frustration of "Why don't these fools have an autopayment option." If only I could emulate my steps to making to submit my payment.
That's it for this week, have fun with 5.4 and see you next week! Povilas Korop Laravel Daily Team
|