{"id":21252680,"url":"https://github.com/atomicptr/laravel-github-storage","last_synced_at":"2026-05-18T08:34:17.873Z","repository":{"id":228455789,"uuid":"774059654","full_name":"atomicptr/laravel-github-storage","owner":"atomicptr","description":"A GitHub based filesystem for Laravel","archived":false,"fork":false,"pushed_at":"2025-03-21T09:11:13.000Z","size":18,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-03T23:55:02.934Z","etag":null,"topics":["laravel","laravel-package"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atomicptr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-18T21:50:17.000Z","updated_at":"2025-08-16T01:56:21.000Z","dependencies_parsed_at":"2024-03-18T22:46:37.657Z","dependency_job_id":null,"html_url":"https://github.com/atomicptr/laravel-github-storage","commit_stats":null,"previous_names":["atomicptr/laravel-github-storage"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/atomicptr/laravel-github-storage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicptr%2Flaravel-github-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicptr%2Flaravel-github-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicptr%2Flaravel-github-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicptr%2Flaravel-github-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomicptr","download_url":"https://codeload.github.com/atomicptr/laravel-github-storage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicptr%2Flaravel-github-storage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33170882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","laravel-package"],"created_at":"2024-11-21T03:48:25.537Z","updated_at":"2026-05-18T08:34:17.858Z","avatar_url":"https://github.com/atomicptr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# laravel-github-storage\n\nA GitHub based filesystem for Laravel, powered by [php-github-api](https://github.com/KnpLabs/php-github-api).\n\n**Note**: Keep in mind that GitHub has a rate limit, so if you need a lot of file operations you might\nneed something else.\n\n## Installation\n\n```bash\ncomposer require atomicptr/laravel-github-storage\n```\n\nAdd a new disk to your filesystems.php configuration file\n\n```php\n'github' =\u003e [\n    'driver' =\u003e 'github',\n    'token' =\u003e env('GITHUB_STORAGE_TOKEN', ''),\n    'username' =\u003e env('GITHUB_STORAGE_USERNAME', ''),\n    'repository' =\u003e env('GITHUB_STORAGE_REPOSITORY', ''),\n    'branch' =\u003e env('GITHUB_STORAGE_BRANCH', 'master'),\n    'prefix' =\u003e env(\"GITHUB_STORAGE_PREFIX\", ''),\n],\n```\n\nalso add the service provider to your bootstrap/providers.php file\n\n```php\n\u003c?php\n\nreturn [\n    App\\Providers\\AppServiceProvider::class,\n    // This line:\n    Atomicptr\\LaravelGithubStorage\\GithubStorageServiceProvider::class,\n];\n```\n\n## Usage\n\n```php\n\u003c?php\n\n$storage = Storage::disk('github');\n\nif (! $storage-\u003eexists('assets/image.jpg')) {\n    $storage-\u003eput('assets/', $imageFileContent);\n}\n\n// See https://laravel.com/docs/filesystem\n````\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomicptr%2Flaravel-github-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomicptr%2Flaravel-github-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomicptr%2Flaravel-github-storage/lists"}