laravel-db-snapshots
laravel-db-snapshots copied to clipboard
Copy Files From External Storage To Local Storage for Import
Hi i had some promblems loading Snapshots gzipped from S3. So i implementent this solution where i first copy the file to local tmp Folder.
This solution works for me quite well
@freekmurze anything i have to do fo a merge?
Could you rebase against main to fix the conflicts?
@freekmurze I think now it looks better ?
Please don't forget adding the proper types in your method definitions (return and parameter).
~~Everywhere where you specified mixed $stream, you can actually use the resource type instead of mixed.~~
@xHeaven Done i think i found no way to use resource i always get errors resource is not a valid type hint in PHP for method signatures; it’s a reserved type that can’t be used directly.
@freekmurze anything to do for me?
Dear contributor,
because this pull request seems to be inactive for quite some time now, I've automatically closed it. If you feel this pull request deserves some attention from my human colleagues feel free to reopen it.
@xHeaven @freekmurze
please merge