dgtlss/capsule
Capsule is a Laravel package for organizing your application into self-contained modules. It provides a clean structure for routes, migrations, views, and classes, making large codebases easier to navigate, reuse, and maintain.
.capsule.enc) and standalone decryption support incident-response, audit, and data-protection requirements by reducing reliance on the original Laravel application for recovery.capsule-decrypt enables recovery outside the production application and backup catalog, which is valuable for break-glass procedures, legal/security review, and disaster recovery runbooks.Consider Capsule 3.0.0 when:
zip, sodium, zlib, plus pdo_sqlite for SQLite backup/validation and sqlite3 for SQLite restoration.--list and --dry-run review before restores, and can run recovery drills.Look elsewhere or defer when:
libzip build..capsule.enc files require compatible Capsule tooling and the backup password; decryption produces a plaintext ZIP that must be handled securely.--no-local avoids a complete local backup archive, but SQLite snapshots and filesystem adapters may still use temporary storage.Executives: Capsule 3.0.0 strengthens backup security and recovery independence. Encrypted streaming backups reduce exposure of backup contents and filenames, while standalone decryption gives the organization a recovery path that does not depend on the original Laravel application or backup catalog. Stronger restore validation lowers the risk of restoring corrupted or incomplete data. The trade-off is an upgrade gate: Laravel 10/11 and PHP 8.1 are no longer supported, and required PHP extensions must be available. Approve this as a resilience and compliance improvement only after confirming platform readiness and running a recovery drill.
Engineering: v3 adds encrypted streaming backups via --no-local --encrypt, producing .capsule.enc archives without staging a complete local backup archive. Recovery requires compatible Capsule tooling and the backup password; decryption yields a plaintext ZIP that must be handled securely. Restore validation now checks archive paths, manifests, checksums, encrypted entries, and incremental bases before destination data changes. Incremental backups are checksum-bound and record deletions, with encryption/password compatibility checks. New-format restores preserve named or numbered file-root directories, so use --list and --dry-run before restoring. Plan for Laravel 12/PHP 8.2+ or Laravel 13/PHP 8.3+, required zip/sodium/zlib extensions, SQLite dependencies where applicable, and AES-capable libzip for standard AES ZIP encryption. Keep passwords and recovery dependencies separate from the application, retain existing archives and passwords, and validate the upgrade in a non-production environment before changing production recovery procedures.
How can I help you explore Laravel packages today?