PHPNews

Make It Sticky

Consider the common example of a heading that should remain fixed to the top of the page until the next section becomes visible. Traditionally, developers have …

Written by Laracasts - - Aggregated on Wednesday July 11, 2018


Reverse the Order

You many find yourself wanting to reverse the order of certain elements on the page, when viewed on a mobile device. The most common illustration of this is …

Written by Laracasts - - Aggregated on Tuesday July 10, 2018


Use the Forge SDK

It will come as no surprise that Forge offers an API to programmatically access all operations that can be accomplished through the browser. This means, if you …

Written by Laracasts - - Aggregated on Monday July 2, 2018


Redirect Traffic

Once your domain is configured with Laravel Forge, you can optionally configure a redirect to point non-www traffic to the www version, or of course the other …

Written by Laracasts - - Aggregated on Monday July 2, 2018


SSL on Forge

Registering an SSL certificate on your server is usually a tricky and confusing process. But not with Laravel Forge!

Written by Laracasts - - Aggregated on Monday July 2, 2018


Queues

Queues allow us to push time-consuming tasks to a background job, where they can be processed by a worker. This allows for a snappier feedback loop for your …

Written by Laracasts - - Aggregated on Monday July 2, 2018


Vue Convenience Components

In this lesson, come along as I refactor my "slide up" modal Vue components. The goal will be to ensure that future modals will be as simple and intuitive as …

Written by Laracasts - - Aggregated on Thursday June 28, 2018


Event Fakery

Let's drop down a level and write a test to ensure that, when experience is awarded to a user, an announcement (or event) is made to the rest of our applicatio…

Written by Laracasts - - Aggregated on Wednesday June 27, 2018


Begin With an Example

Like so many other things in life, starting a new feature is the hardest part. We're creating something out of nothing. It's not an easy task to define how …

Written by Laracasts - - Aggregated on Tuesday June 26, 2018


Piece By Piece Mobile Tweaking

The dream is that, as you construct a page, you follow a mobile-first cycle: make it look nice on mobile devices, and then build out from there. The truth, …

Written by Laracasts - - Aggregated on Monday June 25, 2018


Focus on Small Refactors

In this episode, we'll work through a refactor of the "Browse" page here at Laracasts. I've tweaked the code just enough to give us a variety of small …

Written by Laracasts - - Aggregated on Thursday June 21, 2018


Render Functions: Part 1

So far in this series, we've used templates to declare our desired HTML structures. However, there's another way: render functions. Though you won't reach for …

Written by Laracasts - - Aggregated on Tuesday June 19, 2018


Tooltips Three Ways

In this episode, we'll construct a standard tooltip using three techniques: data attributes, Vue directives, and dedicated Vue components. View the source code …

Written by Laracasts - - Aggregated on Friday June 15, 2018