magebit / vsbridge-static-content-procesor

magebit/vsbridge-static-content-procesor

Converts magento URL's to VSF during indexation

  • Kristofers Ozolins
magento2-component Compatibility: Not yet tested Code Quality: Pending Tests: N/A Security: Pending GPL-3.0-only
Viewing version 2.0.0. Latest version is 2.0.4. Switch to latest

static-content-processor vsbridge-static-content-procesor

Static Content Processor for VSBridge

Automatically converts Magento urls to VSF urls during indexation

Installation

  • Via composer
    Run composer require magebit/vsbridge-static-content-procesor in your root magento directory

  • Git clone

    • Create Magebit directory in app/code
      • cd app/code
      • mkdir Magebit
    • Clone this repo inside Magebit directory

Usage

Standalone

This module requires you to configure VSF and VSF media urls.
You can find these configuration fields in:
Store - Configuration - VueStorefront - Indexer - Static Content Processor

You can also specify which category and product attributes to run through the processor. As an example, you
could select product description attribute and all the links and images will be converted with VSF urls.

As a dependency

You can also use this module as a dependency for your own module:


use Magebit\StaticContentProcessor\Helper\Resolver;

/**
 * @package MyPackage\MyModule
 */
class MyModule
{
    /**
     * @var \Magebit\StaticContentProcessor\Helper\Resolver
     */
    protected $resolver;

    /**
     * @param Resolver $resolver
     */
    public function __construct(Resolver $resolver)
    {
        $this->resolver = $resolver;
    }

    /**
     * Does some content processing
     * @return string
     */
    public function example()
    {
        // This will convert urls and media urls to vsf urls according to the configuration
        return $this->resolver->resolve($this->getSomeStaticContent());
    }
}


Contributing

Found a bug, have a feature suggestion or just want to help in general?
Contributions are very welcome! Check out the list of active issues or submit one yourself.

If you're making a bug report, please include as much details as you can and preferably steps to repreduce the issue.
When creating Pull Requests, don't for get to list your changes in the CHANGELOG and README files.


Magebit

Have questions or need help? Contact us at [email protected]

Changelog

The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.

[1.0.0] - 2020-03-03

Added
  • Initial release
Versions
Version Stability QA Status Compatibility Released
2.0.4 stable Fail Magento 2.4.7 Details 2025-11-19 13:45:06
2.0.3 stable Not tested Not yet tested Details 2022-06-03 07:27:37
2.0.1 stable Not tested Not yet tested Details 2021-03-08 09:32:55
2.0.0 stable Not tested Not yet tested Details 2021-03-04 16:03:17
1.0.0 stable Fail Magento 2.4.7 Details 2020-07-16 10:59:32

Requires 3

Package Constraint
divante/magento2-vsbridge-indexer >=2.0.0
php >=7.3.0
symfony/property-access ^3.4||^4.4||^5.0

No QA results yet

QA pipelines haven't run for this version. Compatibility and quality results appear here once the vendor publishes a tagged release that gets ingested.

License
GPL-3.0-only
Authors
  • Kristofers Ozolins

More from magebit

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.