PHPackages                             keinos/hello-world-tpl - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. keinos/hello-world-tpl

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

keinos/hello-world-tpl
======================

Overly cautious HelloWorld class. See the repo for details.

1.2.3(5y ago)2278[5 issues](https://github.com/KEINOS/TPL-PHP-HelloWorld/issues)Apache-2.0ShellPHP ^8.0 || ^7.1

Since Feb 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/KEINOS/TPL-PHP-HelloWorld)[ Packagist](https://packagist.org/packages/keinos/hello-world-tpl)[ Docs](https://github.com/KEINOS/TPL-PHP-HelloWorld)[ RSS](/packages/keinos-hello-world-tpl/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (11)Versions (47)Used By (0)

[![Build Status](https://camo.githubusercontent.com/cb07f580641d26c055989e46a3b21ba17582e437f207d1dba0f683c460c54931/68747470733a2f2f7472617669732d63692e636f6d2f4b45494e4f532f54504c2d5048502d48656c6c6f576f726c642e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/KEINOS/TPL-PHP-HelloWorld/builds)[![Coverage Status](https://camo.githubusercontent.com/911265c22b6bfc817ff563a0f0041e7a717881110d41fdada8ca39b0a5c636cc/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4b45494e4f532f54504c2d5048502d48656c6c6f576f726c642f62616467652e737667)](https://coveralls.io/github/KEINOS/TPL-PHP-HelloWorld)[![Code Quality](https://camo.githubusercontent.com/ad283560fb6ef2ec936726f16613e688eec0bd8ef2792395efcc7d6d99cdc24e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f4b45494e4f532f54504c2d5048502d48656c6c6f576f726c642f6d6173746572)](https://scrutinizer-ci.com/g/KEINOS/TPL-PHP-HelloWorld/build-status/master "Scrutinizer code quality")[![Supported PHP Version](https://camo.githubusercontent.com/c27682574e828fba99a4a228b64cc57c89821f95dce5b8a8401f07740cf47423/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6b65696e6f732f68656c6c6f2d776f726c642d74706c)](https://github.com/KEINOS/TPL-PHP-HelloWorld/blob/master/.travis.yml "Version Support")

Super cautious "Hello-World"
============================

[](#super-cautious-hello-world)

This repo is an overly-cautious [Hello-World PHP script](./src/Main.php) for fun. It includes the following tests and CIs to just say "Hello-World!".

Tests
-----

[](#tests)

- Supported PHP Version to test
    - PHP v7.1, 7.2, 7.3, 7.4, 8.0 (, nightly)
    - Details see: [.travis.yml](./.travis.yml)
        - Note: The nightly build version (PHP8-dev) might fail in TravisCI.
- Unit Test &amp; Code Coverage
    - [PHPUnit](https://phpunit.de/)
- Coding Standard Compliance
    - [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) (PSR-2, PSR-12)
    - [PHP Mess Detector](https://phpmd.org/) (Avoid complexity)
- PHP Static Analysis
    - [PHPStan](https://github.com/phpstan/phpstan)
    - [PSalm](https://psalm.dev/)
    - [Phan](https://github.com/phan/phan)
- Benchmark
    - [PHPBench](https://github.com/phpbench/phpbench)
- Docker for Local Testing
    - Details see: [docker-compose.yml](./docker-compose.yml)

CIs Used
--------

[](#cis-used)

This repo uses the following CIs. On your use, register your repo first.

- [TravisCI](https://travis-ci.org/): Used for running tests.
- [COVERALLS](https://coveralls.io/): Used for code coverage.
- [Scrutinizer CI](https://scrutinizer-ci.com/): Used for code quality.

Using this package as a template/boilerplate
============================================

[](#using-this-package-as-a-templateboilerplate)

How to
How to use it as a template
---------------------------

[](#how-to-use-it-as-a-template)

### TL; DR

[](#tl-dr)

Copy, initialize the project, smoke test, add CI's ACCESS TOKEN then you're redy-to-go!

### TS; DR

[](#ts-dr)

1. Create a new copy.

    Choose one of the below commands that suits you.

    - Note that you need to specify your project's name. This will be your "package name" as well.

    ```
    # For composer user with NO Docker
    composer create-project keinos/hello-world-tpl MyNewProject
    cd MyNewProject
    ```

    ```
    # For Docker and docker-compose user (No PHP nor composer user)
    git clone https://github.com/KEINOS/TPL-PHP-HelloWorld.git MyNewProject
    cd MyNewProject
    ```
2. Initialize.

    Run the command below to initialize your project. This will re-write the package and vendor names to the provided name. (Ex. MyVendorName)

    ```
    rm -rf .git
    git init
    ./.devcontainer/initialize_package.php MyVendorName
    ```
3. Functioning test.

    Before anything, run the tests to check it's basic test functionality.

    ```
    composer test -- --all --verbose
    ```
4. Initial commit.

    Commit your first change.

    ```
    git add .
    git commit -m 'initial commit'
    ```
5. Push the repo to GitHub then register it to the following CIs.

    - [TravisCI](https://travis-ci.org/)
    - [COVERALLS](https://coveralls.io/)
6. Re-name `COVERALLS.env.sample` to `COVERALLS.env` under `./tests/conf`.
7. Get your access token from COVERALLS' settings and place/replace the token value in `COVERALLS.env`.
8. Run tests again to see COVERALLS' function-ability.
9. If the local test passes then commit changes and push.
10. If the tests passes on CIs then start building your project.

Developing via Docker
---------------------

[](#developing-via-docker)

This repo can be developed via Docker. Run:

```
composer dev
```

Or, if you use Visual Studio Code (a.k.a. VS Code) and have Docker, then **"Remote - Containers" extension** is available.

In this case, you don't need to install the packages or even PHP on your local env.

1. Install Microsoft's ["Remote - Containers"](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) extension to your VS Code.
2. `git clone` this repo to your local.
3. Remove the `.git` directory and initialize as a new one by `git init`.
4. Open folder in a Container by: F1 -&gt; "Remote-Containers: Reopen in Container".

Credit
------

[](#credit)

This repo was very much inspired by:

- [このPHPがテンプレートエンジンのくせに慎重すぎる](https://qiita.com/search?utf8=%E2%9C%93&sort=&q=title%3A%E3%81%93%E3%81%AEPHP%E3%81%8C%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%82%A8%E3%83%B3%E3%82%B8%E3%83%B3%E3%81%AE%E3%81%8F%E3%81%9B%E3%81%AB%E6%85%8E%E9%87%8D%E3%81%99%E3%81%8E%E3%82%8B) @ Qiita

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Recently: every ~24 days

Total

46

Last Release

2008d ago

PHP version history (4 changes)1.0.0PHP ^8.0.0 || ^7.0

1.0.27PHP ^8.0 || ^7.1

1.2.0PHP ^8.0 || ^7.3

1.2.1PHP ^8.0 || ^7.3 || ^7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11840938?v=4)[KEINOS](/maintainers/KEINOS)[@KEINOS](https://github.com/KEINOS)

---

Top Contributors

[![KEINOS](https://avatars.githubusercontent.com/u/11840938?v=4)](https://github.com/KEINOS "KEINOS (130 commits)")

---

Tags

ciscomposercoverallsdockerfunphpphp8template-projecttravis

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/keinos-hello-world-tpl/health.svg)

```
[![Health](https://phpackages.com/badges/keinos-hello-world-tpl/health.svg)](https://phpackages.com/packages/keinos-hello-world-tpl)
```

###  Alternatives

[in2code/in2publish_core

Content publishing extension to connect stage and production server

40143.4k](/packages/in2code-in2publish-core)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4778.9k](/packages/tiamo-phpas2)[wapmorgan/php-rpm-packager

RPM packager for PHP applications.

106.6k](/packages/wapmorgan-php-rpm-packager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
