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: 7 months 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 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-19T15:10:41.000Z (about 4 years ago)
- Last Synced: 2025-07-19T20:28:14.218Z (10 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: 2
- 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+
[](https://github.com/thinkverse/hello-world/actions) [](https://packagist.org/packages/thinkverse/hello-world) [](https://packagist.org/packages/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 Doe
print $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/