PHP code example of michaelnabil230 / laravel-greet-component
1. Go to this page and download the library: Download michaelnabil230/laravel-greet-component library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
michaelnabil230 / laravel-greet-component example snippets
return [
'is_christmas' => now()->month == 11 && now()->day == 25,
'is_valentine' => now()->month == 1 && now()->day == 14,
];
bash
php artisan vendor:publish --tag="greet-config"
bash
php artisan vendor:publish --tag="greet-views"