Package Data | |
---|---|
Maintainer Username: | connor4312 |
Maintainer Contact: | connor@connorpeet.com (Connor Peet) |
Package Create Date: | 2014-04-26 |
Package Last Update: | 2014-07-13 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:25:59 |
Package Statistics | |
---|---|
Total Downloads: | 84 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 19 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Aperture is a super simple Laravel package to make sharing and storing unchanging database data easy and effective. Essentially, it provides a quick interface to dump and restore information from a database table. It is build so that, if needed, it should be able to handle unlimited rows without running out of memory.
'Mcprohosting\Aperture\ApertureServiceProvider'
to your list of providers in config/app.phpYou then have access to the commands snapshot:take
and snapshot:restore
.
> php artisan snapshot:take --help
Usage:
snapshot:take [--database[="..."]] [--chunk[="..."]] table
Arguments:
table Table to snapshot.
Options:
--database Database the table lives on.
--chunk How many rows to process at once. (default: 500)
> php artisan snapshot:restore --help
Usage:
snapshot:restore [--database[="..."]] [--chunk[="..."]] table
Arguments:
table Table to snapshot.
Options:
--database Database the table lives on.
--chunk How many rows to process at once. (default: 500)
Licensed under the MIT license.