code4mk / Lara Head
Easily setup SEO in your laravel project with lara-head ❤️ @code4mk
Stars: ✭ 169
Projects that are alternatives of or similar to Lara Head
Laravelmetatags
The most powerful and extendable tools for managing SEO Meta Tags in your Laravel project
Stars: ✭ 226 (+33.73%)
Mutual labels: laravel, seo
Laravel Paginateroute
Laravel router extension to easily use Laravel's paginator without the query string
Stars: ✭ 306 (+81.07%)
Mutual labels: laravel, seo
Laravel Link Checker
Check all links in a Laravel application
Stars: ✭ 253 (+49.7%)
Mutual labels: laravel, seo
Laravel Robots Middleware
Enable or disable the indexing of your app
Stars: ✭ 259 (+53.25%)
Mutual labels: laravel, seo
Laravel Sitemap
Create and generate sitemaps with ease
Stars: ✭ 1,325 (+684.02%)
Mutual labels: laravel, seo
Seo Manager
Seo Manager Package for Laravel ( with Localization )
Stars: ✭ 192 (+13.61%)
Mutual labels: laravel, seo
Seo Helper
🔍 SEO Helper is a package that provides tools and helpers for SEO (Search Engine Optimization).
Stars: ✭ 262 (+55.03%)
Mutual labels: laravel, seo
Laravel Missing Page Redirector
Redirect missing pages in your Laravel application
Stars: ✭ 378 (+123.67%)
Mutual labels: laravel, seo
Laravel Referer
Remember a visitor's original referer
Stars: ✭ 339 (+100.59%)
Mutual labels: laravel, seo
Open Graph
Library that assists in building Open Graph meta tags
Stars: ✭ 112 (-33.73%)
Mutual labels: laravel, seo
Laravel Seo Tools
Laravel Seo package for Content writer/admin/web master who do not know programming but want to edit/update SEO tags from dashboard
Stars: ✭ 99 (-41.42%)
Mutual labels: laravel, seo
Laravel Seo
SEO package made for maximum customization and flexibility
Stars: ✭ 130 (-23.08%)
Mutual labels: laravel, seo
Laravel Page Speed
Package to optimize your site automatically which results in a 35%+ optimization
Stars: ✭ 2,097 (+1140.83%)
Mutual labels: laravel
Imall
基于Laravel5.2,Vue.js1.0的微信商城,用于熟悉 Laravel、Vuejs、Webpack、Gulp 的结合使用,已不维护及更新。(1MB单核基础服务器,浏览请耐心等待图片加载...)
Stars: ✭ 168 (-0.59%)
Mutual labels: laravel
Themes
🎨 Laravel Themes package with support for the Caffeinated Modules package.
Stars: ✭ 167 (-1.18%)
Mutual labels: laravel
installation
composer require code4mk/lara-head
usage meta
~ inside controller
use Khead;
class Test
{
public function home()
{
Khead::setMeta('viewport',[
"name" => "viewport",
"content"=>"width=device-width, initial-scale=1"
]);
}
}
~ inside blade
{{ Khead::getMeta('viewport') }}
// <meta name="bladeport" content="width=device-width, initial-scale=1">
link
Khead::setLink('author',[
"rel"=>"author",
"href"=>"humans.txt"
]);
// blade
{{ Khead::getLink('author') }}
// <link rel="author" href="humans.txt">
script
Khead::setScript('one',[
"src"=>"test.js",
]);
// blade
{{ Khead::getScript('one') }}
// <script src="test.js"></script>
title
Khead::setTitle('this is a title');
// blade
{{ Khead::getTitle() }}
facebook open graph
Khead::setOg([
"app_id" => [
"property"=>"fb:app_id",
"content"=>"123456789"
],
"url" => [
"property"=>"og:url",
"content"=>"https://example.com/page.html"
],
"type" => [
"property"=>"og:type", "content"=>"website"
],
"title" => [
"property"=>"og:title",
"content"=>"Content Title"
],
"image" => [
"property"=>"og:image",
"content"=>"https://example.com/image.jpg"
],
"description" => [
"property"=>"og:description",
"content"=>"Description Here"
],
"site_name" => [
"property"=>"og:site_name",
"content"=>"Site Name"
],
"locale" => [
"property"=>"og:locale",
"content"=>"en_US"
],
"author" => [
"property"=>"article:author",
"content"=>"@code4mk"
]
]);
// blade
{{ Khead::getOg() }}
twitter cards
Khead::setTwitCards([
"card" => [
"name" => "twitter:card",
"content"=>"summary"
],
"site" => [
"name"=>"twitter:site",
"content"=>"@code4mk"
],
"creator" => [
"name"=>"twitter:creator",
"content"=>"@code4mk"
],
"url" => [
"name"=>"twitter:url",
"content"=>"https://code4mk.org"
],
"title" => [
"name"=>"twitter:title",
"content"=>"Content Title"
],
"description" => [
"name"=>"twitter:description",
"content"=>"Content description less than 200 characters"
],
"image" => [
"name"=>"twitter:image",
"content"=>"https://code4mk.org/image.jpg"
],
"dnt" => [
"name"=>"twitter:dnt",
"content"=>"on"
]
]);
// blade
{{ Khead::getTwitCards() }}
Head tags
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].