{"id":18521938,"url":"https://github.com/pyrocms/sample","last_synced_at":"2026-03-06T18:11:37.778Z","repository":{"id":1962783,"uuid":"2893376","full_name":"pyrocms/sample","owner":"pyrocms","description":"An example module for PyroCMS. Explore it or use it as a template for creating a custom module.","archived":false,"fork":false,"pushed_at":"2013-12-12T16:16:29.000Z","size":178,"stargazers_count":44,"open_issues_count":0,"forks_count":38,"subscribers_count":11,"default_branch":"2.2","last_synced_at":"2025-04-10T03:39:40.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://pyrocms.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyrocms.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":"2011-12-01T19:02:34.000Z","updated_at":"2024-08-07T18:10:11.000Z","dependencies_parsed_at":"2022-09-09T00:50:15.435Z","dependency_job_id":null,"html_url":"https://github.com/pyrocms/sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pyrocms/sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrocms%2Fsample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrocms%2Fsample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrocms%2Fsample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrocms%2Fsample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyrocms","download_url":"https://codeload.github.com/pyrocms/sample/tar.gz/refs/heads/2.2","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyrocms%2Fsample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30189658,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T17:33:53.563Z","status":"ssl_error","status_checked_at":"2026-03-06T17:33:51.678Z","response_time":250,"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":"2024-11-06T17:28:22.960Z","updated_at":"2026-03-06T18:11:37.741Z","avatar_url":"https://github.com/pyrocms.png","language":"PHP","readme":"# PyroCMS Sample Module\n\n* Branch 2.1/master -- For PyroCMS v2.1.x\n* Branch 2.0/master -- For PyroCMS v2.0.x\n* Branch 1.3/master -- For PyroCMS v1.3.x\n\n## Legal\n\nThis module was originally written by [Jerel Unruh](http://twitter.com/jerelunruh), one of the PyroCMS core developers but is now part of PyroCMS Documentation.\nHere is his [blog post about this module](http://unruhdesigns.com/blog/2011/01/getting-started-with-custom-module-development-for-pyrocms).\nIf you find issues please open a ticket in the issue tracker here.\n\nIt is unlicensed, meaning that you can use it as a base for your own module without keeping the copyright intact. [visit unlicense.org](http://unlicense.org)\nPlease spread the news about PyroCMS and point new developers here if you like.\nYou may also be interested in [PyroCMS Workless](http://github.com/jerel/pyrocms-workless) a theme based on iKreativ's Workless.\n\n## Description\n\nThis module was put together to give new developers something to start with when building their own modules. It makes use of some best practices (like using MY_Model to\nsimplify database interaction) and hopefully shows a couple of shortcuts (like using the pagination helper instead of the default CI pagination). It includes an\nevent file and its own plugin.\n\n\n## Usage\n\nTo use this module simply clone it using Git or download the zip. Make sure the branch you download from matches the version of PyroCMS you are using. For example, PyroCMS 1.3.2 users will use 1.3/master branch, and PyroCMS 2.0 users will use 2.0/master branch, and so on. Once you have the folder you will need to rename it to \"sample\". This is very important as\nPyroCMS uses the folder name to determine the class to call when installing or when loading a controller. This may mean that you will need to unzip the\ndownloaded version and then rezip it before uploading to your PyroCMS install.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyrocms%2Fsample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyrocms%2Fsample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyrocms%2Fsample/lists"}