Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mteu/php-template

A rather basic template for the Project Builder, a powerful Composer package to create new project packages from templates
https://github.com/mteu/php-template

composer php template

Last synced: 3 months ago
JSON representation

A rather basic template for the Project Builder, a powerful Composer package to create new project packages from templates

Awesome Lists containing this project

README

        

# Project Builder Template

[![CGL](https://github.com/mteu/php-template/actions/workflows/cgl.yaml/badge.svg)](https://github.com/mteu/php-template/actions/workflows/cgl.yaml)
[![Latest Stable Version](http://poser.pugx.org/mteu/php-template/v)](https://packagist.org/packages/mteu/php-template)
[![License](http://poser.pugx.org/mteu/php-template/license)](LICENSE.md)

๐Ÿ“ฆย [Packagist](https://packagist.org/packages/mteu/php-template) ยท
๐Ÿ’พย [Repository](https://github.com/mteu/php-template) ยท
๐Ÿชฒย [Issue tracker](https://github.com/mteu/php-template/issues)

This is a framework-agnostic [Project Builder](https://github.com/CPS-IT/project-builder) template with a relatively basic initial setup. It facilitates a swift and easy-to-use creation
of Composer based PHP projects.

## ๐Ÿš€ Features
* Static code analysis template with [PHPStan](https://phpstan.org/)
* Automatic code migration with [Rector](https://getrector.com/)
* Pre-defined GitHub actions for CGL and releases

## ๐Ÿ”ฅ Getting started
1. Create a new project:

```bash
composer create-project cpsit/project-builder
```

2. [Project Builder](https://github.com/CPS-IT/project-builder) will automatically fetch and list available templates on `Packagist.org`.
3. Select the package `mteu/php-template`.

![image](assets/template-selection.png)

4. Follow the instructions and answer a few questions and you're good to go.

> ๐Ÿ’ก Please refer to the official Project Builder [documentation](https://project-builder.cps-it.de)
> to learn about alternative ways to create your project.

## ๐Ÿ‘ฉโ€๐Ÿ’ป:๐Ÿง‘โ€๐Ÿ’ป Contribution
We welcome your feedback and ideas! One quick ask, though: Please do consult [`CONTRIBUTING.md`](CONTRIBUTING.md) before
proposing a PR. Thanks!

## ๐Ÿ’› Acknowledgement
This template is heavily based on the preparatory work done by [@eliashaeussler](https://github.com/eliashaeussler) and
me in the [TYPO3 Template Package](https://github.com/CPS-IT/typo3-project-template).

## โญ License
This project template is licensed under [GNU General Public License 3.0 (or later)](LICENSE.md).