Download the PHP package egamipeaks/pizzazz without Composer

On this page you can find all versions of the php package egamipeaks/pizzazz. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pizzazz

Laravel page caching

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status

Pizzazz is a Laravel page caching package that provides intelligent, full-page HTTP caching for your Laravel applications. It automatically caches GET requests and serves cached responses with configurable cache invalidation, query parameter filtering, and authentication-aware caching.

The package includes middleware for automatic caching, cache flushing utilities, and comprehensive logging to help you optimize your application's performance.

Installation

You can install the package via composer:

You can publish the config file with:

This is the contents of the published config file:

Usage

Basic Setup

After installation, add the page cache middleware to your routes or route groups:

Or register the middleware globally in app/Http/Kernel.php:

Configuration

Configure caching behavior in your .env file:

Advanced Usage

Programmatic Cache Control

Cache Flushing

Using Artisan Command

Clear all page cache using the built-in artisan command:

Programmatically

Custom Query Parameters

Configure which query parameters should prevent caching:

Or specify required query parameters to include in cache keys:

How It Works

  1. Automatic Caching: The middleware automatically caches GET requests that return 200 responses
  2. Cache Keys: Pages are cached using URL-based keys with optional query parameter filtering
  3. Cache Headers: Cached responses include X-Cache: HIT header and data-cached="true" attribute on the body tag
  4. Smart Filtering: Automatically skips caching for:
    • Non-GET requests
    • Authenticated users (unless configured otherwise)
    • Requests with disallowed query parameters
    • Responses shorter than the minimum content length
    • Non-200 HTTP responses

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of pizzazz with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package egamipeaks/pizzazz contains the following files

Loading the files please wait ....