\'Backup Tables\' package

PHPz
Release: 2024-08-25 06:32:08
Original
820 people have browsed it

Backup single or multiple database tables with ease.

By adding BackupTables::generateBackup('users') and that is it.

You can also backup multiple tables BackupTables::generateBackup(['users', 'posts']) or simple pass models instead of tables if you want `BackupTables::generateBackup([User::class, Post::class]).

This is different from the Spatie backup package because this package is focused on tables for certain cases, not the regular backups for all applications like what the Spatie package did.

package link with examples and features in detail: https://github.com/WatheqAlshowaiter/backup-tables

The above is the detailed content of \'Backup Tables\' package. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!