Download the PHP package shahabzebare/laravel-nova-turbo without Composer

On this page you can find all versions of the php package shahabzebare/laravel-nova-turbo. 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-nova-turbo

Laravel Nova Turbo

Latest Version on Packagist Tests Total Downloads License

🚀 Turbocharge Laravel Nova by lazy loading resources.

If you have 50+ resources, Nova can become slow because it loads and runs authorization checks for ALL resources on every page load. This package fixes that by only loading the resources needed for the current page.

The Problem

Nova's default behavior on every page load:

With Nova Turbo:

Benchmarks

Real-world performance comparison on a Nova installation with 100+ resources:

Metric Without Turbo With Turbo Improvement
Server Response Time 455.58 ms 186.00 ms 59% faster
Resources Loaded ~100 1-5 95% reduction
📊 Click to see benchmark screenshots ### With Nova Turbo (186ms) ![With Nova Turbo](assets/benchmark-with-turbo.png) ### Without Nova Turbo (455ms) ![Without Nova Turbo](assets/benchmark-without-turbo.png)

Installation

Setup

Step 1: Add the trait to your NovaServiceProvider

Step 2: Generate the cache

This creates a cache file at bootstrap/cache/nova-turbo.php.

Step 3 (Optional): Publish config

Commands

Configuration

External Resources

If you have resources outside app/Nova (e.g., in modules), register them:

Then re-run php artisan nova:turbo-cache.

Deployment

The cache is automatically regenerated when you run php artisan cache:clear during deployments (enabled by default via regenerate_on_cache_clear).

If you prefer manual control, add to your deployment script:

Typical deployment order:

To disable automatic regeneration:

How It Works

  1. The artisan command scans all resources and their relationship fields
  2. It builds a dependency map and caches it as a PHP array file (with version tracking)
  3. On page load, only the needed resources are registered
  4. The cached metadata is sent to the frontend to prevent JavaScript errors
  5. Cache is automatically invalidated when the package is updated (version mismatch)

Development Mode

By default, lazy loading is disabled in local environment (auto_refresh_in_dev = true). This means you can add/modify resources without running the cache command.

For production-like testing locally:

License

MIT License. See LICENSE for details.

Credits


All versions of laravel-nova-turbo with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
laravel/nova Version ^4.0|^5.0
illuminate/support 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 shahabzebare/laravel-nova-turbo contains the following files

Loading the files please wait ...