pharaonic / laravel-seo
SEO meta tags for Laravel: title, description, Open Graph, Twitter cards and more, set from code, models or Blade directives.
13.0.0
2026-11-03 14:58 UTC
Requires
- php: >=8.3 <8.6
- illuminate/container: ^13.0
- illuminate/contracts: ^13.0
- illuminate/database: ^13.0
- illuminate/support: ^13.0
- illuminate/view: ^13.0
Requires (Dev)
- laravel/pint: ^1.20
- orchestra/testbench: ^11.0
- pestphp/pest: ^4.0
- phpstan/phpstan: ^2.1.33
- phpunit/phpunit: ^12.5.8
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
SEO meta tags, Open Graph and Twitter cards for Laravel.
Installation
composer require pharaonic/laravel-seo
The service provider is registered automatically. Publish the configuration when you need to change the defaults:
php artisan vendor:publish --tag=seo-config
Usage
seo()->title->set('Pharaonic'); seo()->description->set('Laravel packages by Pharaonic.'); seo()->images->add('https://pharaonic.dev/cover.png');
<head> @seo </head>
Documentation
Full documentation: Laravel SEO Documentation.
Support & Security
See SUPPORT.md and SECURITY.md. Contributions are welcome; see CONTRIBUTING.md.
License
MIT. See LICENSE.
