PHPNews

Squashing and Merging the New UI

After a week of writing CSS, I'm ready to merge in the first draft of the new "Council" UI. We're not yet finished, however; there's still work to be done. The …

Written by Laracasts - - Aggregated on Thursday February 15, 2018


How to Test Validation Rules

A frequent testing question that pops up relates to how you go about testing validation rules. Or, in other words, if we need to ensure that, say, a valid …

Written by Laracasts - - Aggregated on Wednesday February 7, 2018


Private Channels

Now that we understand what the problem is, we can implement a solution. In this episode, we'll switch to using a private channel. As part of this process, we …

Written by Laracasts - - Aggregated on Wednesday February 7, 2018


The Test Proves It's a Bug

When submitting a pull request to fix a bug, it's vital that a test accompanies your fix. The maintainer can't just take your word for it. Show them what the …

Written by Laracasts - - Aggregated on Monday February 5, 2018


Archiving Channels With TDD

Today, we need to build upon a recent commit that added support for editing channels. The PR stopped just short of allowing administrators to archive channels. …

Written by Laracasts - - Aggregated on Thursday February 1, 2018


A Thread Can Be Pinned

In this episode, we'll work through a new PR that adds support for pinning one or more threads to the top of all results. This can be useful for important …

Written by Laracasts - - Aggregated on Wednesday January 31, 2018


Instant Feedback

Now that we understand the basic flow for broadcasting an event, let's make things a bit more visual. Imagine that you're working on a task list with a friend …

Written by Laracasts - - Aggregated on Tuesday January 30, 2018


Queues and Worker Bees

Let's resolve this issue on GitHub. As part of the process, we'll need to do a quick review of dispatching jobs, and running queue workers.

Written by Laracasts - - Aggregated on Monday January 29, 2018


Pushing to Pusher

Now that we understand how to broadcast an event, let's switch from the log driver over to something more exciting: Pusher. In this episode, we'll learn how to …

Written by Laracasts - - Aggregated on Thursday January 25, 2018


Initial Broadcasting Setup

Let's begin by scaffolding a new Laravel app, and pulling in the necessary dependencies to begin broadcasting server-side events to the client.

Written by Laracasts - - Aggregated on Thursday January 25, 2018


StyleCI

StyleCI is an excellent service for automating the process of analyzing and performing style-guide fixes. As an example, if your project conforms to PSR-2, but …

Written by Laracasts - - Aggregated on Wednesday January 17, 2018


Continuous Integration

Let's set up a continuous integration server with Travis CI. This way, we can automate the process of building and testing our project each time a new commit …

Written by Laracasts - - Aggregated on Monday January 15, 2018


Merging and Tweaking a Large PR

Not all PRs amount to simple formatting and bug fixes. Often, you'll receive significant feature additions that affect dozens of files. In these cases, it's …

Written by Laracasts - - Aggregated on Friday January 12, 2018


Test Clarity

We all recognize that clarity is vital for any project, but often this clarity is set aside when preparing our tests. Be careful. When you return to that …

Written by Laracasts - - Aggregated on Thursday January 11, 2018