Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thinkverse/hello-world
Simple Hello World package for PHP 7.3+ 😎
https://github.com/thinkverse/hello-world
composer composer-package hello-world packagist php
Last synced: about 22 hours ago
JSON representation
Simple Hello World package for PHP 7.3+ 😎
- Host: GitHub
- URL: https://github.com/thinkverse/hello-world
- Owner: thinkverse
- License: mit
- Created: 2020-08-24T07:10:06.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-19T15:10:41.000Z (almost 3 years ago)
- Last Synced: 2024-11-23T01:08:21.006Z (2 months ago)
- Topics: composer, composer-package, hello-world, packagist, php
- Language: PHP
- Homepage: https://packagist.org/packages/thinkverse/hello-world
- Size: 30.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hello World 👋
Simple Hello World package for PHP 7.3+
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/thinkverse/hello-world/Unit%20Testing/master)](https://github.com/thinkverse/hello-world/actions) [![Packagist Version](https://img.shields.io/packagist/v/thinkverse/hello-world)](https://packagist.org/packages/thinkverse/hello-world) [![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/thinkverse/hello-world)](https://packagist.org/packages/thinkverse/hello-world) [![GitHub license](https://img.shields.io/github/license/thinkverse/hello-world)](https://github.com/thinkverse/hello-world/blob/master/LICENSE)
## Installation
Use the dependancy mananger [composer] to install HelloWorld.```bash
composer require thinkverse/hello-world
```## Usage
```php
use Thinkverse\HelloWorld;$helloWorld = new HelloWorld();
$helloJohnDoe = new HelloWorld('John Doe');print $helloWorld->greeting(); // Hello World
print $helloJohnDoe->greeting(); // Hello John Doeprint $helloWorld->greet('Jane Doe'); // Hello Jane Doe
```## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.
## License
[MIT][composer]: https://getcomposer.org/
[mit]: https://choosealicense.com/licenses/mit/