Search

Showing 7 of 1,216 result(s)

/blog/2021/02/20/integrating-laravel-spark-and-statamic-3#content-improving-our-navigation-menu

Our current menu looks something like this regardless of if a user is currently signed in or not: The changes we will make will hide the Registration and Login options when a user is signed in, and add a My Account and Log Out option when they are...

/blog/2021/02/20/integrating-laravel-spark-and-statamic-3#content-configuring-stripe-and-spark-product-ids

In this section we update our Stripe configuration to refer to the products we created within the Stripe dashboard in a previous step. Within the Stripe dashboard, select the "Products" option in the left menu, and then locate the product you...

/blog/2021/02/20/integrating-laravel-spark-and-statamic-3#content-selectively-locking-content-behind-a-paywall

In the previous section we implemented a custom Antlers tag that can be used to block access to content entirely if the current user does not have an active billing subscription. It works, but does not make things easy if we want to have a mix of...

/blog/2023/04/11/creating-a-simple-honeypot-field-in-laravel#content-adding-our-logic-directly-to-our-forms-action

Our next example will be to add our logic directly to the code that fires when our form is submitted. To do this, we will pretty much just be copying and pasting our logic into our route file and removing the middleware: I prefer the middleware...

/blog/2023/04/11/creating-a-simple-honeypot-field-in-laravel#content-creating-a-helper-blade-directive

Suppose we want to use our honeypot mechanism across multiple forms. Adding the hidden form input field to each form might become tedious. To help with this, we can create a custom Blade directive to simplify this process. In our...

/blog/2023/09/04/implementing-a-custom-blade-precompiler-for-laravel-volt-and-livewire#content-parsing-custom-blade-components

With our Blade precompiler scaffolding out of the way, we can now start working on parsing our custom Blade components. We will use the Blade parsing library we included earlier since it provides some utility features that make it much easier to...

/blog/2023/09/04/implementing-a-custom-blade-precompiler-for-laravel-volt-and-livewire#content-starting-our-compiler-implementation

For this blog post, our compiler implementation will remain limited in scope and focus on being able to compile the simple counting example from the introduction. Our compiler needs to be able to accomplish the following: Detect and parse our...

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.