Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/michaelnabil230/laravel-greet-component

A small component of printing random messages greet
https://github.com/michaelnabil230/laravel-greet-component

component components greeting laravel

Last synced: about 1 month ago
JSON representation

A small component of printing random messages greet

Awesome Lists containing this project

README

        

# Greet component for user

[![Latest Version on Packagist](https://img.shields.io/packagist/v/michaelnabil230/laravel-greet-component.svg?style=flat-square)](https://packagist.org/packages/michaelnabil230/laravel-greet-component)
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/michaelnabil230/laravel-greet-component/run-tests?label=tests)](https://github.com/michaelnabil230/laravel-greet-component/actions?query=workflow%3Arun-tests+branch%master)
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/michaelnabil230/laravel-greet-component/Check%20&%20fix%20styling?label=code%20style)](https://github.com/michaelnabil230/laravel-greet-component/actions?query=workflow%3A"Check+%26+fix+styling"+branch%master)
[![Total Downloads](https://img.shields.io/packagist/dt/michaelnabil230/laravel-greet-component.svg?style=flat-square)](https://packagist.org/packages/michaelnabil230/laravel-greet-component)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

## Support us

[![](.assets/ko-fi.png)](https://ko-fi.com/michaelnabil230)[![](.assets/buymeacoffee.png)](https://www.buymeacoffee.com/michaelnabil230)[![](.assets/paypal.png)](https://www.paypal.com/paypalme/MichaelNabil23)

## Installation

You can install the package via composer:

```bash
composer require michaelnabil230/laravel-greet-component
```

You can publish the config file with:

```bash
php artisan vendor:publish --tag="greet-config"
```

This is the contents of the published config file:

```php
return [

'is_christmas' => now()->month == 11 && now()->day == 25,

'is_valentine' => now()->month == 1 && now()->day == 14,
];
```

Optionally, you can publish the views using

```bash
php artisan vendor:publish --tag="greet-views"
```

## Usage

```html

```

## Testing

```bash
composer test
```

## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Contributing

Please see [CONTRIBUTING](https://github.com/michaelnabil230/.github/blob/master/CONTRIBUTING.md) for details.

## Security Vulnerabilities

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

## Credits

- [Michael Nabil](https://github.com/michaelnabil230)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.