{"id":16412423,"url":"https://github.com/sfneal/actions","last_synced_at":"2026-05-17T17:10:11.036Z","repository":{"id":53421253,"uuid":"287091100","full_name":"sfneal/actions","owner":"sfneal","description":"Abstraction layers for utilizing the \"Action\" pattern in PHP applications","archived":false,"fork":false,"pushed_at":"2024-04-16T15:32:14.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-01T00:18:58.092Z","etag":null,"topics":["actions","php","php-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/sfneal.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2020-08-12T18:47:26.000Z","updated_at":"2024-03-29T19:16:33.000Z","dependencies_parsed_at":"2024-04-16T16:48:55.100Z","dependency_job_id":"235e0278-a471-4807-84ce-55da7e22e498","html_url":"https://github.com/sfneal/actions","commit_stats":{"total_commits":97,"total_committers":2,"mean_commits":48.5,"dds":"0.010309278350515427","last_synced_commit":"c2a0f22074e00911783dc880e9878b9a3d5b648e"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/sfneal/actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfneal%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfneal%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfneal%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfneal%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sfneal","download_url":"https://codeload.github.com/sfneal/actions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfneal%2Factions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33147340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["actions","php","php-package"],"created_at":"2024-10-11T06:48:51.818Z","updated_at":"2026-05-17T17:10:11.010Z","avatar_url":"https://github.com/sfneal.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Actions\n\n[![Packagist PHP support](https://img.shields.io/packagist/php-v/sfneal/actions)](https://packagist.org/packages/sfneal/actions)\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/sfneal/actions.svg?style=flat-square)](https://packagist.org/packages/sfneal/actions)\n[![Build Status](https://travis-ci.com/sfneal/actions.svg?branch=master\u0026style=flat-square)](https://travis-ci.com/sfneal/actions)\n[![StyleCI](https://github.styleci.io/repos/287091100/shield?branch=master)](https://github.styleci.io/repos/287091100?branch=master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/sfneal/actions/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/sfneal/actions/?branch=master)\n[![Total Downloads](https://img.shields.io/packagist/dt/sfneal/actions.svg?style=flat-square)](https://packagist.org/packages/sfneal/actions)\n\nAbstraction layers for utilizing the \"Action\" pattern in PHP applications.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require sfneal/actions\n```\n\n## Usage\nHere's a basic example of an action class that accepts a string parameter to the contructor and then outputs the string in all caps from the execute method.\n\n``` php\nuse Sfneal\\Actions\\AbstractAction;\n\nclass MockAction extends AbstractAction\n{\n    /**\n     * @var mixed|string\n     */\n    private $string;\n    \n    /**\n     * MockAction constructor.\n     * \n     * @param string $string\n     */\n    public function __construct($string = 'output')\n    {\n        $this-\u003estring = $string;\n    }\n    \n    /**\n     * Execute the action.\n     *\n     * @return mixed\n     */\n    public function execute()\n    {\n        return strtoupper($this-\u003estring);\n    }\n}\n```\n\n\n```php\n$output = (new MockAction('string'))-\u003eexecute();\n\u003e\u003e\u003e 'STRING'\n```\n\n### Testing\n\n``` bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email stephen.neal14@gmail.com instead of using the issue tracker.\n\n## Credits\n\n- [Stephen Neal](https://github.com/sfneal)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n## Laravel Package Boilerplate\n\nThis package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsfneal%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsfneal%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsfneal%2Factions/lists"}