Showing 10 of 1,280 results.

Integrating Laravel Spark, Stripe, and Statamic 3

Throughout this article we will create a fairly basic integration between Statamic 3 and the newly updated Laravel Spark . This guide will be using Spark's Stripe option, but if you want to use Paddle, the overall steps should not be too...

The Goal | Laravel Paginator Pretty URLs

When use the paginator in Laravel, we get URLs like this: 1 http://localhost:8000/users?page=1 and we want URLs like this 1 http://localhost:8000/users/page/1 because why not? When digging through the code for the paginator class, I found that the...

Using the PrettyPaginator | Laravel Paginator Pretty URLs

…ttyPaginator class written, we actually need to use it. This will involve some more work, but its pretty simple. Here are the things we will need to do: Create a new Route for our pagination URL,, Create a function that uses our new paginator,,...

Creating Facades | Laravel 5 Facades

…be bound as a singleton). The important part is that we have an service container binding: math which will resolve to an instance of Calculator . It is at this point a facade can be created. A facade is created by creating a new class and...