arcanedev / seo-helper Goto Github PK
View Code? Open in Web Editor NEW:mag: SEO Helper is a package that provides tools and helpers for SEO (Search Engine Optimization).
License: MIT License
:mag: SEO Helper is a package that provides tools and helpers for SEO (Search Engine Optimization).
License: MIT License
Thanks for this package. Do you have any plans to extend the Laravel Trait to support the full range of capabilities this package has, such as being able to do the following:
class PostController extends Controller
{
public function list()
{
$this->seo()->addMeta('prev', url('/page-1')); // Or 'addLink()' if more appropriate.
$this->seo()->addMeta('next', url('/page-3'));
$this->seo()->addMeta('robots', 'follow, noindex');
}
}
I love this package.
Any plan to upgrade to Laravel 9?
Hello, can you add Laravel 8 support ?
Hello,
this lib seems great, but we should have the possibility from a single setTitle (or any other common stuff) with another like useGraph('OG',' twitter','...') to let the lib generated title for opengraph, twitter, and the other lib. This will reduce drastically the number of call to do to have all seo stuff.
thanks
Heyho! First of all thanks for providing such an awesome package!
So far, I just was using the normal SEO-Types inside my Laravel App. But i'm not able to add Graph or Cards to it. What I'm missing out?
$this->seo()
->setTitle(Lang::get('meta.frontend.'.$page.'.title'))
->setDescription(Lang::get('meta.frontend.'.$page.'.description'))
->setKeywords([Lang::get('meta.frontend..'.$page.'.keywords')])
->setImage($page. 'seo.png');
Where I need to pass the Graph or Card Object to the view? If i just using this code I cant see the values inside my Laravel app.
$openGraph = new Graph;
$openGraph->setType('website');
$openGraph->setTitle('Your awesome title');
$openGraph->setDescription('Your awesome description');
$openGraph->setSiteName('Your site name');
$openGraph->setUrl('http://my.awesome-website.com');
$openGraph->setImage('http://my.awesome-website.com/img/cool-image.jpg');
$openGraph->render();
I tried to pass it into the setOpenGraph or setSeoTwitter Method, but thats somehow not working.
$this->seo()
->setTitle(Lang::get('meta.frontend.'.$page.'.title'))
->setDescription(Lang::get('meta.frontend.'.$page.'.description'))
->setKeywords([Lang::get('meta.frontend..'.$page.'.keywords')])
->setImage($page. 'seo.png')
->setSeoTwitter()
->setSeoOpenGraph($openGraph);
Thanks for an help,
Stan
It's impossible to add multiple properties to Graph with identical names.
$this->seoGraph()->addProperty('locale:alternate', 'en');
$this->seoGraph()->addProperty('locale:alternate', 'ru');
Will output only last one in rendered HTML.
Hi,
is it possible to add L6.0 support?
thanks
Can you please add support for Laravel 10
hello,
how to output result into blade.
I put this lines into my controller :
$title = new Title;
$title->set('Your awesome title');
echo $title->render();
this render the title before head tag, I need to set the title inside head to respect html strecture
can you help please ?
Hi,
How to disable html encode in setDescription()?
«description» -> «description»
Thanks
I'm sure this is already on your radar, but I find it good to have an issue to track.
Please support Laravel 5.7
I got error after run composer required command:
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1.
I used:
I've got a multi-language website & google propose use alternate meta tags instead of canonical. Here the article is:
Use hreflang for language and regional URLs
So, the question is how to implement this feature via seo-helper?
composer require arcanedev/seo-helper Using version ^1.3 for arcanedev/seo-helper
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
**Problem 1**
- Conclusion: remove laravel/framework v5.3.31
- Conclusion: don't install laravel/framework v5.3.31
- arcanedev/seo-helper 1.3.0 requires arcanedev/support ~4.0 -> satisfiable by arcanedev/support[4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.1.9].
- arcanedev/seo-helper 1.3.1 requires arcanedev/support ~4.0 -> satisfiable by arcanedev/support[4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.1.9].
- arcanedev/seo-helper 1.3.2 requires arcanedev/support ~4.0 -> satisfiable by arcanedev/support[4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.1.9].
- arcanedev/support 4.0.0 requires illuminate/filesystem ~5.4.0 -> satisfiable by illuminate/filesystem[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- arcanedev/support 4.0.1 requires illuminate/filesystem ~5.4.0 -> satisfiable by illuminate/filesystem[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- arcanedev/support 4.0.2 requires illuminate/filesystem ~5.4.0 -> satisfiable by illuminate/filesystem[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- arcanedev/support 4.1.0 requires illuminate/filesystem ~5.4.0 -> satisfiable by illuminate/filesystem[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- arcanedev/support 4.1.1 requires illuminate/filesystem ~5.4.0 -> satisfiable by illuminate/filesystem[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- arcanedev/support 4.1.2 requires illuminate/filesystem ~5.4.0 -> satisfiable by illuminate/filesystem[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- arcanedev/support 4.1.3 requires illuminate/filesystem ~5.4.0 -> satisfiable by illuminate/filesystem[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- arcanedev/support 4.1.4 requires illuminate/filesystem ~5.4.0 -> satisfiable by illuminate/filesystem[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- arcanedev/support 4.1.5 requires illuminate/filesystem ~5.4.0 -> satisfiable by illuminate/filesystem[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- arcanedev/support 4.1.6 requires illuminate/filesystem ~5.4.0 -> satisfiable by illuminate/filesystem[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- arcanedev/support 4.1.7 requires illuminate/filesystem ~5.4.0 -> satisfiable by illuminate/filesystem[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- arcanedev/support 4.1.8 requires illuminate/filesystem ~5.4.0 -> satisfiable by illuminate/filesystem[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- arcanedev/support 4.1.9 requires illuminate/filesystem ~5.4.0 -> satisfiable by illuminate/filesystem[v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- don't install illuminate/filesystem v5.4.0|don't install laravel/framework v5.3.31
- don't install illuminate/filesystem v5.4.13|don't install laravel/framework v5.3.31
- don't install illuminate/filesystem v5.4.17|don't install laravel/framework v5.3.31
- don't install illuminate/filesystem v5.4.19|don't install laravel/framework v5.3.31
- don't install illuminate/filesystem v5.4.9|don't install laravel/framework v5.3.31
- Installation request for laravel/framework == 5.3.31.0 -> satisfiable by laravel/framework[v5.3.31].
- Installation request for arcanedev/seo-helper ^1.3 -> satisfiable by arcanedev/seo-helper[1.3.0, 1.3.1, 1.3.2].
Please suggest me how to install this package
Thnaks
hi . i want to get site title and use in other place on page layout .
how i should get title string without meta html ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.