{"id":18831211,"url":"https://github.com/ekyna/digitaloceanbundle","last_synced_at":"2026-01-24T16:30:13.405Z","repository":{"id":56976179,"uuid":"313883854","full_name":"ekyna/DigitalOceanBundle","owner":"ekyna","description":"Deploy assets to digital ocean space CDN","archived":false,"fork":false,"pushed_at":"2022-07-04T08:42:11.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"0.7","last_synced_at":"2024-12-30T06:46:31.594Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ekyna.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}},"created_at":"2020-11-18T09:26:53.000Z","updated_at":"2020-12-14T14:03:29.000Z","dependencies_parsed_at":"2022-08-21T11:20:30.656Z","dependency_job_id":null,"html_url":"https://github.com/ekyna/DigitalOceanBundle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekyna%2FDigitalOceanBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekyna%2FDigitalOceanBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekyna%2FDigitalOceanBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekyna%2FDigitalOceanBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekyna","download_url":"https://codeload.github.com/ekyna/DigitalOceanBundle/tar.gz/refs/heads/0.7","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239768942,"owners_count":19693760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-11-08T01:52:09.686Z","updated_at":"2025-02-20T02:43:04.919Z","avatar_url":"https://github.com/ekyna.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"ekyna/digital-ocean-bundle\n==========\n\nDeploy assets to Digital Ocean space CDN    \n\n### Installation\n\nInstall using composer:\n\n```bash\ncomposer require ekyna/digital-ocean-bundle\n```\n\nRegister the bundle:\n\n```php\nclass AppKernel extends Kernel\n{\n    public function registerBundles()\n    {\n        $bundles = [\n            // ...\n            new Ekyna\\Bundle\\DigitalOceanBundle\\EkynaDigitalOceanBundle(),\n        ];\n    }\n}\n```\n\nAdd the configuration:\n\n```yaml\nekyna_digital_ocean:\n    api:\n        token: YOUR_API_TOKEN\n    spaces:\n        -\n            name: my-do-cdn # Must match space name on Digital Ocean \n            region: ams3\n            key: SPACE_ACCESS_KEY\n            secret: SPACE_ACCESS_SECRET\n    usage:\n        bundles: my-do-cdn # The space to use for assets deployment\n```\n\n\n### Usage\n\nSpaces storages are available as [League\\Flysystem\\Filesystem](https://github.com/thephpleague/flysystem/blob/1.x/src/Filesystem.php) (v1) services :\n\n```xml\n\u003c!-- You can inject 'my-do-cdn' filesystem service --\u003e\n\u003cservice id=\"Acme\\Some\\Service\"\u003e\n    \u003cargument type=\"service\"\u003eekyna_digital_ocean.my_do_cdn.filesystem\u003c/argument\u003e\n\u003c/service\u003e\n```\n\n### Commands\n\nYou can deploy bundles assets to your space CDN by running the following command:\n\n```php bin/console ekyna:digital-ocean:assets:deploy```\n\n_Warning: it purge the entire CDN cache._ \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekyna%2Fdigitaloceanbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekyna%2Fdigitaloceanbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekyna%2Fdigitaloceanbundle/lists"}