Single package for web technologies such as Open Graph, PWA
- RSS
- PWA
- Open Graph
- Twitter Card
- Sitemap Generator
composer require oceanwebturk/superweb
- First, we will add the following code under this
namespace App\Providers
use SuperWeb;
- Add the following code to the
boot
method
SuperWeb::config([
'default_title' => 'OceanWebTurk',
'title_suffix' => ' - OceanWebTurk',
'default_author' => 'OceanWebTurk'
]);
- Run this command
php bin/console superweb:publish
- You will add this code to the
head
tags of your layout
Below are the structures according to which theme engine you will use
{{ \SuperWeb::generate() }} // OceanWebTurk Santos and Laravel Blade
- Visit Web site and try