Download the PHP package ajaxray/bagisto-opengraph without Composer
On this page you can find all versions of the php package ajaxray/bagisto-opengraph. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ajaxray/bagisto-opengraph
More information about ajaxray/bagisto-opengraph
Files in ajaxray/bagisto-opengraph
Package bagisto-opengraph
Short Description Setting OpenGraph meta tags for your Bagisto store.
License MIT
Informations about the package bagisto-opengraph
OpenGraph Package for Bagisto
A Laravel package for Bagisto e-commerce platform that helps to set an Open Graph image for better social media sharing.
Purpose
This package allows you to easily add Open Graph meta tags to your Bagisto e-commerce pages. Open Graph protocol enables any web page to become a rich object in a social graph, making it more engaging when shared on social media platforms like Facebook, Twitter, and LinkedIn.
Features
- Easy integration with Bagisto
- Setting Open Graph Image, Title, Description etc. from Bagisto settings panel
- Add twitter sharing meta tags along with og tags.
- Dynamic Open Graph meta tag generation
- Inject meta tags only if not set by Bagisto (because Bagisto sets them for some pages)
Installation
You can install the package via composer:
Usage
Once the package is installed, you can set Social preview image in your Bagisto admin panel.
Go to Configuration > Design > Social Preview Image and set the image and other details.
Then, it'll phsh the og:* and twitter:* meta tags in the <head>.
Troubleshooting
Even though the package is pushing the \Ajaxray\OpenGraph\Http\Middleware\InjectOpenGraphTags middlewire in the web middlewireGroup, in some cases it dosen't work. If you face the same issue, just add the middlewire manually in the app/Http/Kernel.php file.
Support
If you have any issues or questions, please open an issue at the GitHub issues.
License
The MIT License (MIT). Please see License File for more information.
Contributing
Thank you for considering contributing to the OpenGraph package! Please read our Contribution Guidelines for details.
Security
If you discover any security-related issues, please email me directly at anis(dot)programmer(at)gmail(dot)com.
🇵🇸 Gaza needs your support.