laravel-mix-purgecss - Zero-config Purgecss for Laravel Mix

  •        12

The Purgecss config is inspired by Jonathan Reinink's config for Tailwind CSS. Before you get started, make sure you're using laravel-mix version 2.1 or higher.

https://github.com/spatie/laravel-mix-purgecss

Dependencies:

glob-all : ^3.1.0
purgecss-webpack-plugin : ^0.23.0

Tags
Implementation
License
Platform

   




Related Projects

purgecss - Remove unused css

  •    Javascript

When you are building a website, chances are that you are using a css framework like Bootstrap, Materializecss, Foundation, etc... But you will only use a small set of the framework and a lot of unused css styles will be included. This is where Purgecss comes into play. Purgecss analyzes your content and your css files. Then it matches the selectors used in your files with the one in your content files. It removes unused selectors from your css, resulting in smaller css files.

laravel-mix - An elegant wrapper around Webpack for the 80% use case.

  •    Javascript

Laravel Mix provides a clean, fluent API for defining basic webpack build steps for your Laravel application. Mix supports several common CSS and JavaScript pre-processors. You may review the initial documentation here on GitHub.

laravel-activitylog - Log activity inside your Laravel app

  •    PHP

The spatie/laravel-activitylog package provides easy to use functions to log the activities of the users of your app. It can also automatically log model events. The Package stores all activity in the activity_log table. You can retrieve all activity using the Spatie\Activitylog\Models\Activity model.

laravel-fractal - An easy to use Fractal wrapper built for Laravel and Lumen applications

  •    PHP

The package provides a nice and easy wrapper around Fractal for use in your Laravel applications. If you don't know what Fractal does, take a peek at their intro. Shortly said, Fractal is very useful to transform data before using it in an API. Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

menu - Html menu generator

  •    PHP

The spatie/menu package provides a fluent interface to build menus of any size in your php application. If you're building your app with Laravel, the spatie/laravel-menu provides some extra treats. Documentation is available at https://docs.spatie.be/menu.


laravel-image-optimizer - Optimize images in your Laravel app

  •    PHP

This package is the Laravel 5.4 and up specific integration of spatie/image-optimizer. It can optimize PNGs, JPGs, SVGs and GIFs by running them through a chain of various image optimization tools. The package will automatically detect which optimization binaries are installed on your system and use them. The package also contains a middleware to automatically optimize all images in an request.

vue-api-query - 💎 Elegant and simple way to build requests for REST API

  •    Javascript

This package helps you quickly to build requests for REST API. Move your logic and backend requests to dedicated classes. Keep your code clean and elegant. 🔥 If you use Laravel, this package matches perfectly with spatie/laravel-query-builder.

laravel-newsletter - Manage newsletters in Laravel

  •    PHP

Please note the at the time of this writing the default merge variables in MailChimp are named FNAME and LNAME. In our examples we use firstName and lastName for extra readability. Make sure you rename those merge variables at MailChimp in order to make these examples work. Spatie is a webdesign agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

laravel-paginateroute - Laravel router extension to easily use Laravel's paginator without the query string

  •    PHP

This package adds the paginate route method to support pagination via custom routes instead of query strings. This also allows for easily translatable pagination routes ex. /news/page/2, /nieuws/pagina/2. Spatie is a webdesign agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

laravel-collection-macros - A set of useful Laravel collection macros

  •    PHP

This repository contains some useful collection macros. Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

laravel-tail - An artisan command to tail your application logs

  •    PHP

This package offers an Artisan command to tail the application log. It supports daily and single logs on your local machine. Spatie is a webdesign agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

form-backend-validation - An easy way to validate forms using back end logic

  •    Javascript

Wouldn't it be great if you could just use your back end to validate forms on the front end? This package provides a Form class does exactly that. It can post itself to a configured endpoint and manage errors. The class meant to be used with a Laravel back end. Take a look at the usage section to view a detailed example on how to use it.

laravel-blade-javascript - A Blade directive to export variables to JavaScript

  •    PHP

This package contains a Blade directive to export values to JavaScript. Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

laravel-failed-job-monitor - Get notified when a queued job fails

  •    PHP

This package sends notifications if a queued job fails. Out of the box it can send a notification via mail and/or Slack. It leverages Laravel's native notification system. Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

laravel-feed - Easily generate RSS feeds

  •    PHP

This package provides an easy way to generate RSS feeds. There's almost no coding required on your part. Just follow the installation instructions update your config file and you're good to go. Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

laravel-google-calendar - Manage events on a Google Calendar

  •    PHP

Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website. The first thing you’ll need to do is to get some credentials to use Google API’s. I’m assuming that you’ve already created a Google account and are signed in. Head over to Google API console and click "Select a project" in the header.

PermissionManager - Admin interface for managing users, roles, permissions, using Backpack CRUD

  •    PHP

This package is just a user interface for spatie/laravel-permission. It will install it, and let you use its API in code. Please refer to their README for more information on how to use in code. Please subscribe to the Backpack Newsletter so you can find out about any security updates, breaking changes or major features. We send an email every 1-2 months.

underconstruction - This Laravel package makes it possible for you to set your website in "Under Construction" mode

  •    PHP

This Laravel package makes it possible to set your website in "Under Construction" mode. Only users with the correct 4 digit code can access your site. This package can for example be useful to show your website to a specific client. Everything works out of the box, and it's fully customizable. If you appreciate my work please give this repo a star.

hooper - 🎠 A customizable accessible carousel slider optimized for Vue

  •    Javascript

Vue.js carousel component, optimized to work with Vue. If you are using PurgeCSS, make sure to whitelist hooper css When importing hooper/dist/hooper.css.

laravel-translation-loader - Store your translations in the database or other sources

  •    PHP

In a vanilla Laravel or Lumen installation you can use language files to localize your app. This package will enable the translations to be stored in the database. You can still use all the features of the trans function you know and love. You can even mix using language files and the database. If a translation is present in both a file and the database, the database version will be returned.