{"id":18929383,"url":"https://github.com/thecodingmachine/utils.action.action-interface","last_synced_at":"2026-03-16T14:30:17.873Z","repository":{"id":57020151,"uuid":"10122446","full_name":"thecodingmachine/utils.action.action-interface","owner":"thecodingmachine","description":"This package contains an interface used by many objects to say they can do stuff. Actually, they can perform one particular action and has been designed for that. The action performed is completely up to the implementer (sending a mail, storing a result in database, displaying something on the screen...) The concept is very simple, and very powerful at the same time.","archived":false,"fork":false,"pushed_at":"2014-06-04T16:10:07.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"1.0","last_synced_at":"2025-02-16T12:30:30.578Z","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/thecodingmachine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-17T12:05:16.000Z","updated_at":"2014-06-04T16:10:04.000Z","dependencies_parsed_at":"2022-08-22T20:40:47.315Z","dependency_job_id":null,"html_url":"https://github.com/thecodingmachine/utils.action.action-interface","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.action.action-interface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.action.action-interface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.action.action-interface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.action.action-interface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodingmachine","download_url":"https://codeload.github.com/thecodingmachine/utils.action.action-interface/tar.gz/refs/heads/1.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239927823,"owners_count":19719835,"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-08T11:32:16.597Z","updated_at":"2026-03-16T14:30:17.815Z","avatar_url":"https://github.com/thecodingmachine.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"What is this package\n====================\n\nThis package contains an interface used by many objects to declare they can perform an action.\nObjects implementing this interface can perform one particular action and have been designed for that.\nThe action performed is completely up to the implementer (sending a mail, storing a result in database, displaying something on the screen...) The concept is very simple, and very powerful at the same time.\n\nThis is a very simple and very powerful system.\n\n```php\nnamespace Mouf\\Utils\\Action;\n\ninterface ActionInterface {\n\t/**\n\t * Executes the action the object has been designed for.\n\t * \n\t * @throws \\Exception\n\t */\n\tpublic function run();\n}\n```\n\nHere are a few samples:\n\n- a class that sends one mail\n- a class that outputs some HTML\n- a class that displays an error if the user does not have the correct right\n- ...\n\nMouf package\n------------\n\nThis package is part of Mouf (http://mouf-php.com), an effort to ensure good developing practices by providing a graphical dependency injection framework.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Futils.action.action-interface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodingmachine%2Futils.action.action-interface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Futils.action.action-interface/lists"}