{"id":51401923,"url":"https://github.com/d3p1/lib-php-template","last_synced_at":"2026-07-04T07:33:37.042Z","repository":{"id":353008017,"uuid":"1217494929","full_name":"d3p1/lib-php-template","owner":"d3p1","description":"A template to build PHP libraries","archived":false,"fork":false,"pushed_at":"2026-05-05T21:26:23.000Z","size":66,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-05T23:24:03.787Z","etag":null,"topics":["composer","php","project","template","templates"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/d3p1.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-22T00:14:16.000Z","updated_at":"2026-05-05T21:26:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/d3p1/lib-php-template","commit_stats":null,"previous_names":["d3p1/lib-php-template"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/d3p1/lib-php-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3p1%2Flib-php-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3p1%2Flib-php-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3p1%2Flib-php-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3p1%2Flib-php-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d3p1","download_url":"https://codeload.github.com/d3p1/lib-php-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3p1%2Flib-php-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35114172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["composer","php","project","template","templates"],"created_at":"2026-07-04T07:33:36.357Z","updated_at":"2026-07-04T07:33:37.037Z","avatar_url":"https://github.com/d3p1.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=center\u003e\n\n# [LIBRARY PHP TEMPLATE]\n\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![Release](https://github.com/d3p1/lib-php-template/actions/workflows/release.yml/badge.svg)](https://github.com/d3p1/lib-php-template/actions/workflows/release.yml)\n[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)\n\n\u003c/div\u003e \n\n## Introduction\n\nA template to build [PHP](https://www.php.net/) libraries.\n\nThe goal of this template is to simplify the process of creating, maintaining,\nand publishing libraries. It provides a ready-to-use setup with sensible\ndefaults, including\nan [automated release workflow triggered on every push to the repository](./.github/workflows/release.yml).\n\n## Usage\n\nUsing this library is straightforward:\n\n---\n\n### 1. Create a repository\n\nClick the\n**[Use this template](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template)**\nbutton to create a new repository based on this template.\n\n---\n\n### 2. Update `package.json`\n\nEdit the [`package.json`](./package.json) file to reflect your library’s\nmetadata:\n\n- `name` – Your library name\n- `version` – Use `0.0.0`\n- `description` – Short and meaningful description\n- `repository` - Repository information\n- `author` – Author information\n- `bugs` – Bug reporting information\n- `homepage` – Homepage\n\n---\n\n### 3. Update `composer.json`\n\nEdit the [`composer.json`](./composer.json) file to reflect your library’s\nmetadata:\n\n- `name` – Your library name\n- `description` – Short and meaningful description\n- `authors` – Author information\n- `require` - Library dependencies\n- `autoload` - Autoload configuration\n\n---\n\n### 4. Install dependencies\n\nExecute the following commands:\n\n```bash\ncomposer install\n```\n\n---\n\n### 5. Develop your library\n\nStart developing your library inside the [`src` folder](./src).\n\nEvery commit must follow\nthis [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)\nformat:\n\n```\n\u003ctype\u003e(\u003cscope\u003e): \u003cdescription\u003e [\u003cissue-number\u003e]\n``` \n\n\u003e [!NOTE]\n\u003e This is required by\n\u003e the [release workflow, which analyzes every commit to automatically generate the releases](./.github/workflows/release.yml).\n\n---\n\n### 6. Finalize documentation\n\nUpdate the [`README.md`](./README.md) to describe your library’s purpose and\nusage.\n\n\u003e [!IMPORTANT]\n\u003e Don’t forget to update the release badge URL at the top of this file if you\n\u003e keep it — it currently points to this repository.\n\n---\n\n\u003e [!NOTE]\n\u003e To gain a deeper understanding of how to use this library and how it works\n\u003e under the hood, visit\n\u003e the [wiki page](https://github.com/d3p1/lib-php-template/wiki) _(in\nprogress)_.\n\n\u003e [!NOTE]\n\u003e There is a [ticket](https://github.com/d3p1/lib-php-template/issues/2) to add\n\u003e testing tools to improve the library's validation workflow.\n\n## Changelog\n\nDetailed changes for each release are documented in [\n`CHANGELOG.md`](./CHANGELOG.md).\n\n## License\n\nThis work is published under [MIT License](./LICENSE).\n\n## Author\n\nAlways happy to receive a greeting on:\n\n- [LinkedIn](https://www.linkedin.com/in/cristian-marcelo-de-picciotto/)\n- [Web](https://d3p1.dev/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3p1%2Flib-php-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd3p1%2Flib-php-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3p1%2Flib-php-template/lists"}