PHPNews

General Page Styling

With the basic structure in place, we can now move on to general page styling and tweaks. View the source code for this episode on GitHub.

Written by Laracasts - - Aggregated on Thursday March 21, 2019


404 Pages

What if the user visits a URI that doesn't exist? At the moment, they'll see a blank page. Not good. Let's fix that by creating a NotFound component. View …

Written by Laracasts - - Aggregated on Monday March 18, 2019


One Component Per Page

We'll take a one-component-per-page approach to this website. This means, for each link in the sidebar, we need to create a companion Vue component. When …

Written by Laracasts - - Aggregated on Monday March 18, 2019


Building the Layout

In this episode, we'll construct the main layout for our assets website. To streamline this process, I'll pull in Tailwind and add it to my Laravel Mix build. …

Written by Laracasts - - Aggregated on Friday March 15, 2019


The Skeleton

As we do in many series at Laracasts, we'll begin with laravel new project. Following that, we'll incrementally pull in all necessary npm dependencies and …

Written by Laracasts - - Aggregated on Monday March 11, 2019


Gravatars and Helper Functions

Our project page doesn't yet display all members who have access to it. Let's use Gravatar to generate these thumbnails. In doing so, this will give us the …

Written by Laracasts - - Aggregated on Friday March 8, 2019


New Mockery Testing Helpers

Often, when preparing your tests, you'll need to mock a class, set an expectation, and then update the related instance in Laravel's service container with …

Written by Laracasts - - Aggregated on Wednesday March 6, 2019


Beware False Positives

In this episode, as we work to allow users to see all projects they've been invited to from their dashboard, we'll also discuss false positives. A passing test …

Written by Laracasts - - Aggregated on Tuesday March 5, 2019


Layered Tests and Invitations

As we move on to inviting users to projects, this will give us a nice opportunity to discuss layered tests. In this episode, we'll write the same test name at …

Written by Laracasts - - Aggregated on Thursday February 28, 2019


Update Your Cache TTL

A small, but important breaking change in Laravel 5.8 is the switch from minutes to seconds for all cache TTLs. In your codebase, track down any reference to …

Written by Laracasts - - Aggregated on Tuesday February 26, 2019


Automatic Policy Discovery

First up on the agenda is automatic policy discovery. In past versions of Laravel, each time a policy class is generated, you'd need to visit your AuthServiceP…

Written by Laracasts - - Aggregated on Monday February 25, 2019


Tweaking the Activity Card

Let's work on tweaking the output of the activity card in this lesson. I'd like it to show which fields were updated, and who performed the update. View the …

Written by Laracasts - - Aggregated on Thursday February 14, 2019