Skip to content

Single package for web technologies such as Open Graph, PWA

Notifications You must be signed in to change notification settings

oceanwebturk/superweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OceanWebTurk SuperWeb

Single package for web technologies such as Open Graph, PWA

Supported

  • RSS
  • PWA
  • Open Graph
  • Twitter Card
  • Sitemap Generator

Installation

composer require oceanwebturk/superweb

Start

  1. First, we will add the following code under this namespace App\Providers
use SuperWeb;
  1. Add the following code to the boot method
SuperWeb::config([
   'default_title' => 'OceanWebTurk',
   'title_suffix' => ' - OceanWebTurk',
   'default_author' => 'OceanWebTurk'
]);
  1. Run this command
php bin/console superweb:publish
  1. 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
  1. Visit Web site and try