Hello guys, The last newsletter issue of 2016. Time flies, huh? I was even doubting whether to send this one but gathered enough articles to share with you. Hope you will have productive end of the year and boost of new energy in 2017. Have a good read!
Articles from Laravel Daily blogs
Did you know about orderByRaw() in Eloquent?
laraveldaily.com
Let’s imagine a simple situation – you need to write an Eloquent query and order the result by the difference of two columns. Or some other calculation. Time to apply a raw query! Now, what if we need to order by the difference between updated_at and created_at? It looks like this:
Laravel-related articles from all the web
Run PHPUnit Tests From Sublime Text
laravel-news.com
Sublime Text is a great editor. It’s lightweight, fast, and extremely customizable. However, one downside to it compared to a full blown IDE is it doesn’t come with support for running your PHPUnit tests directly from the test class you are working with.
Generate Authentication for a Laravel 5.3 Web Application
medium.com
In this tutorial we are going to generate an authentication system to register and log users in using Laravel 5.3. We will use a SQLite database for persistence in our application. You must have Laravel 5.3 installed. Laravel depends on PHP >= 5.4, MySQL, Composer and a few PHP extensions.
PHP Software Engineer/Developer Interview Questions
icyapril.com
Over the previous few years I’ve been involved in many development interviews; mainly as the interviewer but occasionally as the interviewee. Alongside this, through the wider PHP Community, I’ve heard some real disaster stories when it comes to poor interviews.
Laravel Dusk Is Coming to Laravel 5.4
laravel-news.com
When you write end-to-end tests, Laravel provides a set of useful helper methods which make it easy to click a link, fill an input field, or submit a form. Under the hood, Laravel uses the Symfony BrowserKit component to simulate the behavior of the web browser.
Handling Intensive Tasks with Laravel
justinshalom.com
When dealing with time consuming resource intensive tasks, most PHP developers are tempted to choose the “quick hack route.” Don’t deny it! We’ve all used ini_set('max_execution_time', HUGE_INT); before, but it doesn’t have to be this way.
Append custom values to your Eloquent Model’s results
medium.com
Today I’m going to show you one of the, let us say, not well known features of Eloquent models. about appending values that do not exist in the corresponding table of the model. Yesterday I was playing a little bit about Laravel and VueJs, a simple loop over a model using VueJs’s directive.
How to configure security headers for Laravel
barryvanveen.nl
Some time ago I read an excellent article by Scott Helme on security headers. If you want to learn more about these headers I suggest you read the article yourself. I've added security headers to this website and want to show you how it was done.
Laravel Elixir Will Be Renamed To Laravel Mix
laravel-news.com
Laravel Elixir first came out in October of 2014 and aimed to make automating concatenation, and general file watching easier than setting it up manually. Built on top of Gulp as a wrapper to remove all the difficult parts it has been a popular addition to Laravel.
Setting up WordPress on Laravel Homestead
pressable.com
Today’s guest blog post was written by Isaac Castillo. Isaac is the founder of Echo Design Solutions, a San Antonio-based WordPress and WooCommerce development company. For the past year, Isaac has been using Laravel Homestead as a development environment for his WordPress projects.
That's it for this week, see you next Thursday! Povilas Korop LaravelDaily Team
|