{"id":21328188,"url":"https://github.com/hampel/systemtest","last_synced_at":"2026-05-17T13:33:33.063Z","repository":{"id":174526335,"uuid":"651780782","full_name":"hampel/systemtest","owner":"hampel","description":"Laravel package for testing or troublshooting various subsystems","archived":false,"fork":false,"pushed_at":"2024-05-08T02:28:15.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T12:47:23.602Z","etag":null,"topics":["laravel","production","testing","troubleshooting"],"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/hampel.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-10T04:34:02.000Z","updated_at":"2024-05-08T02:28:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"b8747d34-8c7e-46ad-b9dc-432bbb76e447","html_url":"https://github.com/hampel/systemtest","commit_stats":null,"previous_names":["hampel/systemtest"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hampel%2Fsystemtest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hampel%2Fsystemtest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hampel%2Fsystemtest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hampel%2Fsystemtest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hampel","download_url":"https://codeload.github.com/hampel/systemtest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806093,"owners_count":20350775,"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":["laravel","production","testing","troubleshooting"],"created_at":"2024-11-21T21:25:05.711Z","updated_at":"2026-05-17T13:33:28.028Z","avatar_url":"https://github.com/hampel.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"System Test for Laravel\n=======================\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/hampel/systemtest.svg?style=flat-square)](https://packagist.org/packages/hampel/systemtest)\n[![Total Downloads](https://img.shields.io/packagist/dt/hampel/systemtest.svg?style=flat-square)](https://packagist.org/packages/hampel/systemtest)\n[![Open Issues](https://img.shields.io/github/issues-raw/hampel/systemtest.svg?style=flat-square)](https://github.com/hampel/systemtest/issues)\n[![License](https://img.shields.io/packagist/l/hampel/systemtest.svg?style=flat-square)](https://packagist.org/packages/hampel/systemtest)\n\nThis package provides a number of console commands to test various subsystems (email, logging, notifications, etc) of a \nLaravel system in production. It is primarily intended for troubleshooting issues on a newly deployed application or\nif you've moved to a new server - identifying permissions errors and such.\n\nBy [Simon Hampel](mailto:simon@hampelgroup.com)\n\nInstallation\n------------\n\nTo install using composer, run the following command:\n\n`composer require hampel/systemtest`\n\nUsage\n-----\n\nOnce installed, new artisan console commands will become available:\n\n**Mail**\n\nEnsure that mail has been configured and then run the `test:mail` console command with a destination email address as \nthe parameter.\n\n```bash\nartisan test:mail foo@example.com\n```\n\nTODO: add support for sending via the mail queue\n\n**Log**\n\nRun the `test:log` console command to write a series of logs covering all severities to the default log file.\n\nThe `--channel` option can be used to specify any other configured logging channel.\n\n```bash\nartisan test:log --channel=syslog\n```\n\n**Filesystem**\n\nRun the `test:file` console command to list all files available on the default disk.\n\nThe `--disk` option can be used to specify any other configured disk (eg `local` or `public`).\n\n```bash\nartisan test:file --disk=public\n```\n\nNote that no files are written to the disk.\n\n**Cache**\n\nRun the `test:cache` console command to write test writing to and retrieving from the default cache store.\n\nThe `--store` option can be used to specify any other configured cache store.\n\n```bash\nartisan test:cache --store=array\n```\n\nThe test will generate a random key, write it to the cache (provided the key doesn't already exist), increment the \nvalue, then retrieve and delete the key - checking that the returned value is as expected.\n\n**Schedule**\n\nRun the `test:schedule` console command to output details of scheduled commands to the console.\n\n**Upload**\n\nRun the `test:upload \u003cpath\u003e` console command to upload the file at `\u003cpath\u003e` to your default filesystem disk and report \nback on the time taken.\n\nThe `--disk` option can be used to specify any configured disk (eg `local` or `s3`).\n\n```bash\nartisan test:file /path/to/foo.jpg --disk=s3\n```\n\nNote that the file will be uploaded to the root of the disk and then deleted - so both write and delete permissions are \nrequired.\n\nA large test file such as those used by the [Linode Speedtest](https://www.linode.com/speedtest) are good for testing \nupload speeds.\n\n**Notifications**\n\nRun the `test:notification \u003cchannel\u003e \u003cdestination\u003e` console command to send a notification to the selected channel.\n\nCurrently supported channels are `mail` and `slack`. The destination must also be specified, for mail that would be the\nemail address to send to and for Slack it would be the inbound webhook URL.\n\nFor example:\n\n```bash\nartisan test:notification mail foo@example.com\n\nartisan test:notification slack https://hooks.slack.com/services/...\n```\n\nBe sure to check your inbox or Slack channel for a test notification message.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhampel%2Fsystemtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhampel%2Fsystemtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhampel%2Fsystemtest/lists"}