Download the PHP package ideal-creative-lab/laravel-tachyon without Composer

On this page you can find all versions of the php package ideal-creative-lab/laravel-tachyon. 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 laravel-tachyon

Stand With Ukraine


Latest Stable Version Required PHP Version Required Laravel Version License


๐Ÿš€ Introduction

Laravel Tachyon is a powerful package designed to optimize the performance of your Laravel applications by minifying HTML output on demand. With over 35% optimization, it helps improve page load speed and overall user experience.

Laravel Tachyon supports the following:

Additionally, Laravel Tachyon ensures that the optimization process does not break the following HTML elements:


๐Ÿ Getting Started

Requirements

Installation

You can install the package via composer:

This package supports Laravel Package Discovery.

Publish configuration file

To customize the package settings, you can publish the configuration file with the following command:

Middleware Registration

To enable the package functionality, make sure to register the provided middlewares in the bootstrap/app.php file of your Laravel application. Here's an example of how to do it:


๐Ÿ› ๏ธ Middlewares Details

[!WARNING] Use TrimUrls::class middleware with care, as it can cause problems if the wrong base URL is used.

[!IMPORTANT] CollapseWhitespace::class automatically calls the RemoveComments::class middleware before executing.

[!NOTE] You can ignore minification of some elements. Add data-tachyon-ignore as an element attribute to do so.


โš™๏ธ Configuration

After installing the package, you may need to configure some options according to your needs.

Disable Service

To disable the Laravel Tachyon service in your local environment and get readable output, modify the following configuration file:

Skip routes

You can configure the package to skip optimization for certain routes. Use the * wildcard to match multiple routes. Here's an example:

Feel free to adjust the configuration options according to your specific needs.

Notice: By default, the package automatically skips binary and streamed responses. See the File Downloads for more information.


๐Ÿงช Testing


๐Ÿค Contributing

Please see CONTRIBUTING for details.


๐Ÿ“„ License

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


All versions of laravel-tachyon with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^11.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 ideal-creative-lab/laravel-tachyon contains the following files

Loading the files please wait ....