Important Requirement:
- This module is an add-on and requires installation of SocietyPro Saas- Society Management Software ( MAIN APP )
- It is not a standalone product and cannot be used without the main app
The StorageGuard Module adds a robust layer of safety for Laravel-based SocietyPro installations by ensuring that all essential storage and cache directories exist at runtime. By automatically creating required storage paths (such as storage/framework, storage/framework/cache/data, and others), it prevents common Laravel errors like file_put_contents: No such file or directory. StorageGuard transparently wraps filesystem and cache write operations for SocietyPro, maximizing reliability—especially after deployments, cache clears, or in fresh hosting/container environments.
Note: StorageGuard is a drop-in SocietyPro module. It requires no application code changes, no extra configuration, and is safe for both production and development environments.
put, append, prepend)web group in SocietyPro)Modules\StorageGuard\Services\PathEnsurer::ensureBasePaths() storageguard.ensure is auto-applied to all web requests but may be manually added/removed as needed for SocietyPro routes.StorageGuard all but eliminates missing-directory errors in SocietyPro, minimizing deployment headaches and runtime issues.