{"repo":"archtechx/laravel-seo","free":true,"listed":false,"github":"https://github.com/archtechx/laravel-seo","clone":"git clone https://github.com/archtechx/laravel-seo.git","description":"SEO package for Laravel","language":"PHP","stars":326,"topics":["laravel","seo"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel SEO This is a simple and extensible package for improving SEO via meta tags, such as OpenGraph tags. By default, it uses and OpenGraph tags. It also ships with a Twitter extension. You're, of course, free to write your own extensions as needed. Features : - Setting SEO tags from PHP - Setting SEO tags from Blade - Integration with Flipp and Previewify, to automatically generate cover images - Custom extension support - Expressive & simple API - Customizable views Example usage: Installation And add the following line to your layout file's tag: Usage The package can be used from any PHP code, or specifically from Blade using the @seo directive. PHP Use the seo() helper to retrieve the SeoManager instance, on which you can call the following methods: Available methods: Example usage: Blade views You can use the @seo directive to call the methods from Blade: In general, you'll want to use @seo(['title' = 'foo']) at the start of a view — to set the values — and @seo('title') inside the view if you wish to fetch the value. That is, if you'll use the helpers in Blade at all. Some apps will only use the PHP helper. For Twitter, use the twitter.author format, e.g. @seo('twitter.author') . Twitter By default, no Twitter tags will be included. If you manually enable the extension by calling: in a service provider for example, the extension will be enabled. Once it's enabled, it will copy all default (OpenGraph) values and use them for the Twitter card schema. When a value is se","default_branch":null,"files":null,"tree":[],"storefront":"/r/archtechx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/archtechx/laravel-seo/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}