Running Dusk tests on Travis CI and CircleCI
Laravel Tutorials / March 30, 2017

Running Dusk tests on Travis CI and CircleCI

Laravel Dusk allows us to write end-to-end tests for JavaScript enabled applications by running an actual browser, which simulates an actual user interaction with our applications and provides us with a more accurate feedback on how our application behaves. However, it wasn’t very clear how to run Dusk tests on different Continuous Integration services, so …

Building a User Invitation System with Laravel
Laravel Tutorials / March 30, 2017

Building a User Invitation System with Laravel

In the not too distant past at ubisend, we needed to build a solution to provide our users the ability to invite additional users to manage their account. This is a pretty common problem. Think about a CMS. It’s not much use if you are the only person able to create new content and you …

In Laravel 5.5 You Can Render Mailables to the Browser
Laravel 5.5 / March 27, 2017

In Laravel 5.5 You Can Render Mailables to the Browser

When you are building custom HTML email templates, it’s typically a chore to test them across all the email clients, and testing them over and over. There are a few tools like Litmus which help solve this problem, but the service is expensive. Another way to test while you are developing is to render out …

You Can Now Follow Laravel Release Announcements From Medium
News / March 25, 2017

You Can Now Follow Laravel Release Announcements From Medium

The Laravel team has just created a new Medium publication where you can see all of the official releases and update announcements across all of the Laravel projects and products. Previously, the announcements came from the @laravelphp Twitter account, and it was easy to miss them, with this move you’ll be able to follow the …

What Empathy Is Not
Career / March 24, 2017

What Empathy Is Not

Communication can not work without empathy and that’s why empathy is hopefully the most important factor in your company’s culture. Every once in awhile, someone does a talk or writes a post about why empathy is important and why it should be your number one skill. These are very informative, but most of them are …

Angular 4.0 Is Now Released
News / March 23, 2017

Angular 4.0 Is Now Released

Angular 4.0 is now released and is not only smaller & faster, but also has an improved *ngIf and *ngFor, source maps for templates, and more. *ngIf and *ngFor The template binding syntax now supports a couple helpful changes. You can now use an if/else style syntax, and assign local variables such as when unrolling …

PhpStorm Improves Support for Laravel Blade
Development Tools / March 23, 2017

PhpStorm Improves Support for Laravel Blade

PhpStorm just released version 2017.1 and it includes many improvements including support for Codeception, PhpUnit 6.0, and more PHP 7.x features. Beyond these, it also adds support for @includeWhen, @component and @slot directives and PHPDoc through Blade injections. Here is a screenshot showing the PhpDoc for Blade files: For the full details on this release …

Laravel Package To Login As Other Users During Development
Laravel Packages / March 23, 2017

Laravel Package To Login As Other Users During Development

For websites with advanced ACL functionality, developers often find themselves manually logging in as a different user, then switching back to their own account. This can prove to be a tedious process, especially when trying to debug a problem. Digital agency VIA Creative aims to solve that problem with its latest package: Sudo Su. Sudo …

Using Variables in Your .env File
Laravel Tutorials / March 21, 2017

Using Variables in Your .env File

Laravel’s .env file is included to use, so it’s easy to have a different configuration based on the environment your app is running on. This gives you the flexibility to have different variables for local, staging, production, and even different developers’ machines. Typically these files are small and manageable, but there are times when you …

Ubuntu Server DNS Resolver Issues
News / March 21, 2017

Ubuntu Server DNS Resolver Issues

This morning many people, including Laravel News, are experiencing that their sites are erroring when communicating with third party systems. The hostnames couldn’t be resolved and causing all those to fail. The apparent fix is to restart either PHP-FPM, Apache, or Nginx. If you are using Forge you can SSH in and run: sudo service …