New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

nuewire/cache

A safe Laravel cache management page and command for the Nuewire platform.
8
Install
composer require nuewire/cache
Latest Version:1.2.0
PHP:^8.2
Laravel:11 · 12 · 13
License:MIT
Last Updated:Jul 29, 2026
Links: GitHub  ·  Packagist
Maintainer: novay

Nuewire Cache

Granular Laravel cache management for the Nuewire platform.

Install

composer require nuewire/cache
php artisan nuewire:cache:install
php artisan optimize:clear

With nuewire/platform 2, the page is registered under Plugin → Tools → Clear Cache at /admin/plugin/clear-cache. Mount the page directly when Platform is not installed:

<livewire:nuewire-cache />

Supported targets

  • application: flush the configured Laravel cache store.
  • config: run config:clear.
  • route: run route:clear.
  • view: run view:clear.
  • event: run event:clear.
  • permission: call Spatie PermissionRegistrar when available.

Application cache is intentionally not selected by default. Flushing a shared cache store can remove sessions, rate limits, password-reset tokens, queue overflow payloads, or application data.

CLI

php artisan nuewire:cache:clear
php artisan nuewire:cache:clear config route view event
php artisan nuewire:cache:clear permission
php artisan nuewire:cache:clear --all
php artisan nuewire:cache:clear --all --force # required in production by default

Configuration

The published file is config/nuewire/cache.php. Set a dedicated application cache store when necessary:

NUEWIRE_CACHE_APPLICATION_STORE=redis

The package never accepts arbitrary Artisan command names. Targets are mapped through a fixed enum allowlist and cache clearing is guarded by a process lock.

Permissions

  • cache.view
  • cache.clear

When Nuewire Logs is installed, the package records cache.cleared, cache.partially-cleared, or cache.failed audit events.

Related Packages

binarybuilds/filament-cache-manager

Filament Cache Manager is a FilamentPHP plugin that allows you to easily clear y...

12,033 9
sashalenz/laravel-settings-ui

Declarative, nestable runtime settings for Laravel — fluent schema, pluggable st...

468 0
bunkuris/has-cache

HasCache trait for Laravel models with cache key managers

3,596 0
phpsamurai/laravel-module-maker

A Laravel package for generating modular HMVC structures with artisan commands

0 0
mohammadtrabelsi/laravel-translation-sync

Scan your Laravel app (views, Livewire components, services and laravel-modules)...

93 0

Version History

Version Released PHP Laravel License
1.2.0 ^8.2 ^11.0|^12.0|^13.0 MIT
1.1.1 ^8.2 ^11.0|^12.0|^13.0 MIT
1.0.0 ^8.2 ^11.0|^12.0|^13.0 MIT