Articles About Statamic

Are you looking to find out about how others are using Statamic in their projects? You've come to the right place...we're aggregating all the best Statamic content in one place.

  1. Statamic's Caching Levels Explained

    Alexander Stoffel Posted on March 19, 2022

    Hardly any website would be usable today without some sort of caching - let's take a look at all the ways Laravel and Statamic cache information to help your website's performance.

  2. Improved Laravel Blade support in Statamic 3.3

    Rias Posted on March 10, 2022

    Statamic 3.3 has added some additional improvements to their Blade templates support, which makes using Statamic together with Laravel's native Blade templates truly a joy to work with.

  3. Event listeners for Statamic

    Arlind Musliu Posted on March 09, 2022

    How to utilise Laravel and Statamic Events for different use-cases in your projects. In this example we cover how to dump all your posts in a json file on every entry save.

  4. Statamic Tip: Showing Random Entries with Static Caching

    Alexander Stoffel Posted on March 08, 2022

    Static caching is a great way to increase your website performance, but it does present some obstacles. Since the entire site is served as HTML, it's not possible to show random content to the user with Antlers. Let's look at some workarounds.

  5. Statamic Tip: Protecting Documents from Unauthorized Access

    Alexander Stoffel Posted on March 04, 2022

    By default, any asset you upload to your Statamic control panel can be accessed by anyone on the internet. Here's an easy way to make sure only authorized users can download them instead.

  6. Statamic Tip: Using Tailwind Classes as Select Options

    Alexander Stoffel Posted on February 26, 2022

    Using Tailwind CSS when creating your Statamic site gets stuff done in no time. You can work even faster - and save a bunch of conditionals - by simply telling Tailwind to also check your fieldsets for classes used.

  7. Excluding Scripts and Parts of Templates in Statamic Live Preview

    Alexander Stoffel Posted on February 19, 2022

    Sometimes you might want to not include certain parts (like tracking scripts) in your site when viewing the live preview. Here's how this can be achieved using a custom Antlers tag.

  8. Creating a Content Reaction System with Statamic 3 and Antlers

    John Koster Posted on December 12, 2021

    Implements a system that allows site visitors to leave "reactions" on entries utilizing Antlers and a small amount of custom PHP code.

  9. Using Statamic on Laravel Vapor

    Duncan McClean Posted on June 22, 2021

    When pairing Statamic & Laravel Vapor together, there's a couple of things you'll need to watch out for - covered in this post.

  10. Integrating Laravel Spark, Stripe, and Statamic 3

    John Koster Posted on February 20, 2021

    A comprehensive guide on integrating Laravel Spark with Statamic. Covers installing Spark, and protecting content behind a pay-wall.

  11. Responsive Art direction in Statamic

    Rias Posted on February 05, 2021

    Art direction is nothing new, though there hasn't been an easy way to do it with most CMSs yet. Statamic, with the help of the spatie/statamic-responsive-images addon now offers an author- and developer-friendly way doing Art Direction with images.

  12. Building a Likes addon in Statamic 3

    Duncan McClean Posted on April 14, 2020

    This post walks you through the process of building a Statamic Likes addon, from bootstrapping to writing the code and setting up tests.

  13. Deploying Statamic 3 to a live web server

    Steven Grant Posted on January 27, 2020

    Steven walks us through what it looks like to deploy a Statamic 3 instance to a live web server.

  14. Running Statamic 3 on a Mac

    Steven Grant Posted on January 22, 2020

    Steven walks us through setting up a local Mac development environment for Statamic 3.