PHP code example of laravelhungary / announcement
1. Go to this page and download the library: Download laravelhungary/announcement 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/ */
laravelhungary / announcement example snippets
'providers' => [
...
LaravelHungary\Announcement\PackageServiceProvider::class,
],
'aliases' => [
...
'Announce' => LaravelHungary\Announcement\Facades\Announce::class,
]
shell
/config/announcement.php
/views/vendor/announcement/alert.blade.php
/Events/NewAnnouncement.php
/components/Announcement-bootstrap.vue
/components/Announcement-sweetalert.vue