{"id":22397166,"url":"https://github.com/putyourlightson/craft-blitz-shell","last_synced_at":"2025-07-31T12:31:50.724Z","repository":{"id":57045958,"uuid":"228728304","full_name":"putyourlightson/craft-blitz-shell","owner":"putyourlightson","description":"Blitz Shell Deployer for Craft CMS","archived":false,"fork":false,"pushed_at":"2024-04-08T14:16:15.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2024-11-13T13:54:52.453Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/putyourlightson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-18T00:56:05.000Z","updated_at":"2024-03-21T16:11:04.000Z","dependencies_parsed_at":"2024-04-08T15:33:58.629Z","dependency_job_id":null,"html_url":"https://github.com/putyourlightson/craft-blitz-shell","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"b681d47f34d644058d820b00f1d88d0c5aff9836"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-blitz-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-blitz-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-blitz-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-blitz-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/putyourlightson","download_url":"https://codeload.github.com/putyourlightson/craft-blitz-shell/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228242555,"owners_count":17890481,"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-12-05T06:11:05.156Z","updated_at":"2024-12-05T06:11:05.655Z","avatar_url":"https://github.com/putyourlightson.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Stable Version](https://img.shields.io/packagist/v/putyourlightson/craft-blitz-shell?label=stable)]((https://packagist.org/packages/putyourlightson/craft-blitz-shell))\n[![Total Downloads](https://img.shields.io/packagist/dt/putyourlightson/craft-blitz-shell)](https://packagist.org/packages/putyourlightson/craft-blitz-shell)\n\n\u003cp align=\"center\"\u003e\u003cimg width=\"130\" src=\"https://putyourlightson.com/assets/logos/blitz.svg\"\u003e\u003c/p\u003e\n\n# Blitz Shell Deployer for Craft CMS\n\nThe Shell Deployer allows the [Blitz](https://putyourlightson.com/plugins/blitz) plugin for [Craft CMS](https://craftcms.com/) to deploy cached files to remote locations using shell commands.\n\n\u003e WARNING: Commands are parsed by the shell of your OS. Use at your own risk.\n\n## Usage\n\nInstall the deployer using composer.\n\n```shell\ncomposer require putyourlightson/craft-blitz-shell\n```\n\nThen add the class to the `driverTypes` config setting in `config/blitz.php`.\n\n```php\n// The deployer type classes to add to the plugin’s default deployer types.\n'deployerTypes' =\u003e [\n    'putyourlightson\\blitzshell\\ShellDeployer',\n],\n```\n\nYou can then select the deployer and add shell commands to execute either in the control panel or in `config/blitz.php`. The shell commands cal also be defined as an array of arrays in the `deployerSettings` setting in `config/blitz.php`.\n\n```php\n// The deployer type to use.\n'deployerType' =\u003e 'putyourlightson\\blitzshell\\ShellDeployer',\n\n// The deployer settings.\n'deployerSettings' =\u003e [\n   'commands' =\u003e [\n        ['cp -r ~/mysite.com/web/cache/blitz ~/remote'],\n        ['cp -r ~/mysite.com/web/cache/blitz ~/remote'],\n        ['cp -r ~/mysite.com/web/cache/blitz ~/remote'],\n    ],\n],\n```\n\n## Documentation\n\nRead the documentation at [putyourlightson.com/plugins/blitz](https://putyourlightson.com/plugins/blitz#remote-deployment).\n\nCreated by [PutYourLightsOn](https://putyourlightson.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fputyourlightson%2Fcraft-blitz-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fputyourlightson%2Fcraft-blitz-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fputyourlightson%2Fcraft-blitz-shell/lists"}