Download the PHP package keinos/hello-world-tpl without Composer
On this page you can find all versions of the php package keinos/hello-world-tpl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download keinos/hello-world-tpl
More information about keinos/hello-world-tpl
Files in keinos/hello-world-tpl
Download keinos/hello-world-tpl
More information about keinos/hello-world-tpl
Files in keinos/hello-world-tpl
Vendor keinos
Package hello-world-tpl
Short Description Overly cautious HelloWorld class. See the repo for details.
License Apache-2.0
Homepage https://github.com/KEINOS/TPL-PHP-HelloWorld
Package hello-world-tpl
Short Description Overly cautious HelloWorld class. See the repo for details.
License Apache-2.0
Homepage https://github.com/KEINOS/TPL-PHP-HelloWorld
Please rate this library. Is it a good library?
Informations about the package hello-world-tpl
Super cautious "Hello-World"
This repo is an overly-cautious Hello-World PHP script for fun. It includes the following tests and CIs to just say "Hello-World!".
Tests
- Supported PHP Version to test
- PHP v7.1, 7.2, 7.3, 7.4, 8.0 (, nightly)
- Details see: .travis.yml
- Note: The nightly build version (PHP8-dev) might fail in TravisCI.
- Unit Test & Code Coverage
- Coding Standard Compliance
- PHP_CodeSniffer (PSR-2, PSR-12)
- PHP Mess Detector (Avoid complexity)
- PHP Static Analysis
- Benchmark
- Docker for Local Testing
- Details see: docker-compose.yml
CIs Used
This repo uses the following CIs. On your use, register your repo first.
- TravisCI: Used for running tests.
- COVERALLS: Used for code coverage.
- Scrutinizer CI: Used for code quality.
Using this package as a template/boilerplate
How to
## How to use it as a template ### TL; DR Copy, initialize the project, smoke test, add CI's ACCESS TOKEN then you're redy-to-go! ### 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. 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) 3. Functioning test. Before anything, run the tests to check it's basic test functionality. 4. Initial commit. Commit your first change. 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 This repo can be developed via Docker. Run: 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 -> "Remote-Containers: Reopen in Container".
Credit
This repo was very much inspired by:
- このPHPがテンプレートエンジンのくせに慎重すぎる @ Qiita
All versions of hello-world-tpl with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0 || ^7.1
ext-mbstring Version *
ext-mbstring Version *
The package keinos/hello-world-tpl contains the following files
Loading the files please wait ....