Pharaonic
Loading...

OLD VERSION

WARNING : You're browsing the documentation for an old version of SEO. Consider upgrading your project to 2.x

# Author

Using Author in Controller.

1seo()->setAuthor('Moamen Eltouny');

Using Author in Blade.

1@author('Moamen Eltouny')

# Copyrights

Using Copyrights in Controller.

1seo()->setCopyrights('Pharaonic 2022');

Using Copyrights in Blade.

1@copyrights('Pharaonic 2022')

# Robots

Using Robots in Controller.

1seo()->setRobots('index,nofollow');

Using Robots in Blade.

1@robots('index,nofollow')

# Languages

Accepted : (string, array).
Using Languages in Controller.

1seo()->setAlternate('en', 'https://pharaonic.io/packages/laravel/seo');

Using Languages in Blade.

1@alternate('en', 'https://pharaonic.io/packages/laravel/seo')

Using Navigation in Controller.

1seo()->setPrev('https://pharaonic.io/packages/laravel/sluggable');
2seo()->setNext('https://pharaonic.io/packages/livewire/tagify');

Using Navigation in Blade.

1@prev('https://pharaonic.io/packages/laravel/sluggable');
2@next('https://pharaonic.io/packages/livewire/tagify');