Skip to content

Instantly share code, notes, and snippets.

View AdamEsterle's full-sized avatar

Adam Esterle AdamEsterle

View GitHub Profile
<?php
$urls = Repo::all();
$correctKeys = \DB::connection()->getSchemaBuilder()->getColumnListing("packages");
unset($correctKeys[0], $correctKeys[1]);
foreach ($urls as $repo) {
$text_filename = $repo->id . '.txt';
if (!Storage::exists($text_filename)) {