{"id":37000237,"url":"https://github.com/s-me/base-module","last_synced_at":"2026-01-14T00:01:50.388Z","repository":{"id":57087757,"uuid":"83680298","full_name":"S-Me/base-module","owner":"S-Me","description":"no description","archived":false,"fork":false,"pushed_at":"2017-03-02T13:56:43.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T22:51:55.492Z","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/S-Me.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-03-02T13:23:29.000Z","updated_at":"2017-03-02T13:24:42.000Z","dependencies_parsed_at":"2022-08-24T14:59:14.212Z","dependency_job_id":null,"html_url":"https://github.com/S-Me/base-module","commit_stats":null,"previous_names":["s-me/base-module"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/S-Me/base-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S-Me%2Fbase-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S-Me%2Fbase-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S-Me%2Fbase-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S-Me%2Fbase-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/S-Me","download_url":"https://codeload.github.com/S-Me/base-module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S-Me%2Fbase-module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2026-01-14T00:01:49.728Z","updated_at":"2026-01-14T00:01:50.359Z","avatar_url":"https://github.com/S-Me.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zend Framework Skeleton Module\n\nThis is a sample skeleton module for use with\n[zend-mvc](https://docs.zendframework.com/zend-mvc) applications.\n\n## Installation\n\nFirst, decide on a namespace for your new module. For purposes of this README,\nwe will use `MyNewModule`.\n\nClone this repository into your application:\n\n```bash\n$ cd module\n$ git clone https://github.com/zendframework/ZendSkeletonModule MyNewModule\n$ cd MyNewModule\n```\n\nIf you wish to version the new module with your application, and not as a\nseparate project, remove the various Git artifacts within it:\n\n```bash\n$ rm -Rf .git .gitignore\n```\n\nIf you want to version it separately, remove the origin remote so you can\nspecify a new one later:\n\n```bash\n$ git remote remove origin\n```\n\nThe next step will be to change the namespace in the various files. Open each\nof `config/module.config.php`, `src/Module.php`, and\n`src/Controller/SkeletonController.php`, and replace any occurence of\n`ZendSkeletonModule` with your new namespace.\n\n\u003e ### find and sed\n\u003e\n\u003e You can also do this  with the Unix utilties `find` and `sed`:\n\u003e\n\u003e ```bash\n\u003e $ for php in $(find . -name '*.php');do\n\u003e \u003e sed --in-place -e 's/ZendSkeletonModule/MyNewModule/g' $php\n\u003e \u003e done\n\u003e ```\n\nNext, we need to setup autoloading in your application. Open the `composer.json`\nfile in your application root, and add an entry under the `autoload.psr-4` key:\n\n```json\n\"autoload\": {\n    \"psr-4\": {\n        \"MyNewModule\\\\\": \"module/MyNewModule/src/\"\n    }\n}\n```\n\nWhen done adding the entry:\n\n```bash\n$ composer dump-autoload\n```\n\nFinally, notify your application of the module. Open\n`config/modules.config.php`, and add it to the bottom of the list:\n\n```php\nreturn [\n    /* ... */\n    'MyNewModule',\n]\n```\n\n\u003e ### application.config.php\n\u003e\n\u003e If you are using an older version of the skeleton application, you may not\n\u003e have a `modules.config.php` file. If that is the case, open `config/application.config.php`\n\u003e instead, and add your module under the `modules` key:\n\u003e\n\u003e ```php\n\u003e 'modules' =\u003e [\n\u003e     /* ... */\n\u003e     'MyNewModule',\n\u003e ],\n\u003e ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-me%2Fbase-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs-me%2Fbase-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-me%2Fbase-module/lists"}