digitaldream / 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
Installs: 8 146
Dependents: 0
Suggesters: 0
Security: 0
Stars: 151
Watchers: 12
Forks: 45
Open Issues: 11
Requires
- php: ^8.2
- digitaldream/data-converter: >=1.0
- laravel/framework: ^10.0|^11.0
Suggests
- digitaldreams/laracrud: For Laravel Code generator
This package is auto-updated.
Last update: 2024-12-17 03:29:00 UTC
README
Laravel is becoming more and more popular and lots of web application are developing. In most of the web application there need some SEO work for their marketing purpose. There are some tools but those are not suitable for non programmer. Everything can be control via dashboard like Wordpress Yoast
Installation
"require": { "digitaldream/laravel-seo-tools": "1.*" }
Settings
- Add this line to config/app.php providers array . Not needed if you are using laravel 5.5 or greater
SEO\SeoServiceProvider::class
- Then Run
php artisan vendor:publish --provider="SEO\SeoServiceProvider"
Please have a look to App\Policies\Seo folder. Adjust permission for seo settings routes.
- Run migration
php artisan migrate
- Run Seed
php artisan db:seed --class="SEO\Database\Seeders\SeoTablesSeeder"
- Show form into your post/content page by adding this custom blade tag
@seoForm($model)
This will be usually inside your form.
- Save tags into your controller
if ($model->save()) { \SEO\Seo::save($model, route('blog::posts.show', $model->slug), [ 'title' => $model->title, 'images' => [ $model->getImageUrl() ] ]); }
Do not make your controller dirty. Do not worry follow this instruction
- Finally display tags into your layouts header by this custom blade tag
@seoTags()
Now visit /seo/dashboard from your browser to see seo dashboard and settings
Easy to use
Target user of this tool is non programmer. So they can able to add/modify on page SEO tags and do some necessary action that can give full control how this page will be appear by Search Engine.
Social media sharing
Everybody loves to share their page or content in social media. By using this tools you can able to manage how your page looks like in Facebook, Twitter and others and what image will be shown, which title and description are shown and many more.
Page management
Your application have many pages but not all of them for search engine. You can control this from your dashboard. Also it can be set via programatically for example when a post is published it will automatically added to xml sitemap and will add necessary seo tags so search engine can understand its purpose and content.
Submit company or personal information to Google
For business or ecommerce we often see support email, telephone and some other extra information like their Facebook, Twitter account in google search. This can be done schema.org tags. To make this super simple there have few input field that you can easily fill and save. Behind the scene everything will be done for you.
Webmaster tools
Sometimes web master need ftp or file access because they need to add some verification code into your site. Using this tools they can simply add this from dashboard. Like Google Verification code
Sitemap generator
Sitemap are the key to search engine. Search engine will crawl your website according to this. It will be created automatically for you. Also you can set pririty and change frequency of your page.
Robot.txt and .htaccess file customization
Web master sometimes need to have access to robot.txt and .htaccess. Now it can be done via dashboard. Although it requires expertise knowledge to modify this files.
Meta tag management
Only way to inform search engine about your site or page is via Meta tags. There are many tags. Most common are already there. But you can able to create, edit or delete any of them. To add a meta tag you do not have to call programmer. You can do it from dashbarod.
This is simple. Isn't it?