Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/michaelnabil230/laravel-greet-component
- Owner: michaelnabil230
- License: mit
- Created: 2022-07-22T00:49:55.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-09T15:07:10.000Z (about 1 year ago)
- Last Synced: 2024-05-02T02:21:43.352Z (8 months ago)
- Topics: component, components, greeting, laravel
- Language: PHP
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
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.