### Install Static Content Processor via Composer Source: https://github.com/magebitcom/static-content-processor/blob/master/README.md Instructions to install the Static Content Processor module using Composer, a dependency manager for PHP, by running a command in the Magento root directory. ```bash composer require magebit/vsbridge-static-content-procesor ``` -------------------------------- ### Install Static Content Processor via Git Clone Source: https://github.com/magebitcom/static-content-processor/blob/master/README.md Instructions to manually install the Static Content Processor module by creating a vendor directory and cloning the Git repository into the Magento application code. ```bash cd app/code mkdir Magebit git clone git@github.com:magebitcom/static-content-processor.git ``` -------------------------------- ### Use Static Content Processor Resolver in PHP Module Source: https://github.com/magebitcom/static-content-processor/blob/master/README.md Demonstrates how to integrate and use the `Resolver` helper from the Static Content Processor within a custom PHP module. It shows dependency injection in the constructor and how to call the `resolve` method to convert URLs based on module configuration. ```php 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()); } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.