Important Requirement:
- This module is an add-on and requires installation of TableTrack – The Complete SaaS Restaurant Management Solution ( MAIN APP )
- It is not a standalone product and cannot be used without the main app
The StorageGuard Module provides a robust safety layer for Laravel applications, ensuring all critical storage and cache directories exist at runtime. This prevents common errors like file_put_contents: No such file or directory by automatically creating required storage paths (such as storage/framework, storage/framework/cache/data, and more) whenever your app or Laravel’s filesystem needs them. StorageGuard transparently wraps Laravel’s filesystem and cache write operations for maximum reliability, even after deployments, cache clears, or in fresh container environments.
Note: StorageGuard is a drop-in module that requires no application code changes, no extra configuration, and is safe for both production and development environments.
put, append, prepend)web group)Modules\StorageGuard\Services\PathEnsurer::ensureBasePaths() storageguard.ensure is auto-applied to all web requests but can be invoked or removed as needed.StorageGuard virtually eliminates missing-directory errors in Laravel, reducing deployment headaches and runtime instability.