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: 12 days 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 (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-09T15:07:10.000Z (over 1 year ago)
- Last Synced: 2025-01-15T07:03:02.647Z (6 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
[](https://packagist.org/packages/michaelnabil230/laravel-greet-component)
[](https://github.com/michaelnabil230/laravel-greet-component/actions?query=workflow%3Arun-tests+branch%master)
[](https://github.com/michaelnabil230/laravel-greet-component/actions?query=workflow%3A"Check+%26+fix+styling"+branch%master)
[](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
[](https://ko-fi.com/michaelnabil230)[](https://www.buymeacoffee.com/michaelnabil230)[](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.