Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/thinkverse/package-tutorial

Source for "Publishing your first Composer package." tutorial
https://github.com/thinkverse/package-tutorial

blogpost composer packagist php tutorial

Last synced: 25 days ago
JSON representation

Source for "Publishing your first Composer package." tutorial

Awesome Lists containing this project

README

        

# Package Tutorial 📦

Source for my package tutorial.

## Installation
Use the dependancy mananger [composer] to install `package-tutorial`.

```bash
composer require thinkverse/package-tutorial
```

## Usage
```php
use Thinkverse\Repeat;

print Repeat::sentence('Hello World.'); // Hello World.
print Repeat::sentence(); // No sentence given.
```

## 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/