{"id":23003707,"url":"https://github.com/stechstudio/publish-s3-assets","last_synced_at":"2026-02-17T13:03:00.757Z","repository":{"id":221226171,"uuid":"753794114","full_name":"stechstudio/publish-s3-assets","owner":"stechstudio","description":"A simple way to recursively publish asset folders directly to S3","archived":false,"fork":false,"pushed_at":"2025-03-07T19:25:31.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-12T01:40:31.081Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stechstudio.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2024-02-06T20:01:31.000Z","updated_at":"2025-03-07T19:24:42.000Z","dependencies_parsed_at":"2025-02-08T05:37:33.946Z","dependency_job_id":null,"html_url":"https://github.com/stechstudio/publish-s3-assets","commit_stats":null,"previous_names":["stechstudio/publish-s3-assets"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/stechstudio/publish-s3-assets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stechstudio%2Fpublish-s3-assets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stechstudio%2Fpublish-s3-assets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stechstudio%2Fpublish-s3-assets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stechstudio%2Fpublish-s3-assets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stechstudio","download_url":"https://codeload.github.com/stechstudio/publish-s3-assets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stechstudio%2Fpublish-s3-assets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29545295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T13:00:00.370Z","status":"ssl_error","status_checked_at":"2026-02-17T12:57:14.072Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-12-15T07:15:04.856Z","updated_at":"2026-02-17T13:03:00.736Z","avatar_url":"https://github.com/stechstudio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stechstudio/publish-s3-assets\n\nPublishing your assets to S3 has never been easier![^1]\n\nFour steps:\n\n1. `composer require stechstudio/publish-s3-assets`\n2. Set your desired bucket URL as your `ASSET_URL`\n3. Add `ASSET_AWS_DEFAULT_REGION` (defaults to `AWS_DEFAULT_REGION`) and `ASSET_AWS_BUCKET` to your .env, pointed at the bucket you want to publish your assets to.\n4. Run `php artisan assets:publish`.\n\nIf you just wanted to publish everything in `public`, you're done!\n\n## But what if I want...\n\n### ... to publish specific folders?\n\nPass them as a comma-separated list to `assets:publish`, like so:\n\n```\nphp artisan assets:publish public/build/assets,public/vendor,public/css/filament,public/js/filament\n```\n\nThat will publish only what's found in those folders, recursively.\n\n### ... to rename those folders in s3?\n\nFirst, ask yourself: Do you _really_ want to? If you just want to change `public/build/assets` to `build/assets`, see `--strip-public` below. \n\nOtherwise...\n\n```\nphp artisan assets:publish some/original/path:its/new/path\n```\n\n### ... to remove `public` from the beginning of each asset?\n\n```\nphp artisan assets:publish --strip-public\n```\n\nWith that, `public/build/assets` locally becomes `build/assets` in your bucket, and so on.\n\n### ... to remove any files that don't exist?\n\n```\nphp artisan assets:publish --clean\n```\n\nIt gets all of your destinations (such as `public/build/assets`), then deletes them and their contents before uploading the new files.\n\n[^1]: Claim neither benchmarked nor proven, but we like it!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstechstudio%2Fpublish-s3-assets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstechstudio%2Fpublish-s3-assets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstechstudio%2Fpublish-s3-assets/lists"}