{"id":15284050,"url":"https://github.com/greeflas/default-project","last_synced_at":"2025-04-12T23:20:51.012Z","repository":{"id":48291321,"uuid":"149089192","full_name":"greeflas/default-project","owner":"greeflas","description":"This is a default structure for PHP projects.","archived":false,"fork":false,"pushed_at":"2021-08-03T03:17:28.000Z","size":113,"stargazers_count":24,"open_issues_count":4,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-25T18:22:25.443Z","etag":null,"topics":["default-project","php","project-template","skeleton","skeleton-application"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/greeflas.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}},"created_at":"2018-09-17T07:55:56.000Z","updated_at":"2024-04-22T20:56:55.000Z","dependencies_parsed_at":"2022-08-28T02:41:24.855Z","dependency_job_id":null,"html_url":"https://github.com/greeflas/default-project","commit_stats":null,"previous_names":[],"tags_count":9,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greeflas%2Fdefault-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greeflas%2Fdefault-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greeflas%2Fdefault-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greeflas%2Fdefault-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greeflas","download_url":"https://codeload.github.com/greeflas/default-project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248644043,"owners_count":21138547,"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":["default-project","php","project-template","skeleton","skeleton-application"],"created_at":"2024-09-30T14:48:54.740Z","updated_at":"2025-04-12T23:20:50.980Z","avatar_url":"https://github.com/greeflas.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Default Project\n===============\n\nThis is a default structure for PHP projects. With this template you can speed up the process of creating of new:\nopen-source, proprietary, test, demo and etc. projects!\n\nThis template has basic configuration for [PHPUnit](https://github.com/sebastianbergmann/phpunit) and\n[PHP-CS-Fixer](https://github.com/friendsofphp/php-cs-fixer) libraries, configured `composer.json`\nwith PSR-4 namespaces for source code and tests, `.gitignore` with basic files and directories to exclude them from Git, changelog file\nand README with cool  badges :)\n\n[![Packagist](https://img.shields.io/packagist/v/greeflas/default-project.svg)](CHANGELOG.md)\n[![Packagist](https://img.shields.io/packagist/dt/greeflas/default-project.svg)](https://packagist.org/packages/greeflas/default-project)\n![Custom badge](https://img.shields.io/badge/greeflas-default--project-red.svg)\n\nInstallation\n------------\n\nFor creating new project based on this template just execute the following command\n\n```bash\n$ composer create-project greeflas/default-project project-name\n```\n\n\u003e NOTE: You can add `--no-dev` right after `create-project` flag if you don't want to install dev dependencies to your project\n\nUsage\n-----\n\nMain changes that you need to do:\n\n1. Update `name`, `description`, `keywords`, `authors` section of the `composer.json` file, [lines 2-4](composer.json#L2-L4), [9-10](composer.json#L9-L10).\n\n2. Update header template in `.php_cs.dist` file, [lines 4-9](.php_cs.dist#L4-L9).\n\n3. Update copyright in `LICENSE` file, [line 3](LICENSE#L3).\n\nOther changes that you may do:\n\n1. Change namespace for source code in `composer.json`, [line 23](composer.json#L23) and for tests [line 28](composer.json#L28).\n\n2. Change PHP version in `composer.json` [line 16](composer.json#L15).\n\n3. Change rules for code style in `.php_cs.dist` file.\n\n4. Add some new files and directories to `.gitignore` file to exclude them from Git.\n\n5. Update readme according to your project\n\n6. Update changelog according to your project\n\nCode style fixer\n----------------\n\nTo check the code style just run the following command\n\n\n```bash\n$ composer cs-check\n```\n\n\nto fix the code style run next command\n\n```bash\n$ composer cs-fix\n```\n\nTests\n-----\n\nYou can run tests with composer command\n\n```bash\n$ composer tests\n```\n\nLicense\n-------\n\n[![license](https://img.shields.io/github/license/greeflas/default-project.svg)](LICENSE)\n\nThis project is released under the terms of the BSD-3-Clause [license](LICENSE).\n\nCopyright (c) 2018 - 2020, Volodymyr Kupriienko\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreeflas%2Fdefault-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreeflas%2Fdefault-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreeflas%2Fdefault-project/lists"}