Skip to content

v5.0.6

Latest
Compare
Choose a tag to compare
@toni-suarez toni-suarez released this 06 Jul 05:19
60dca7e

What's new

This release introduces a new Facade for the UtmParameter class, making it easier to utilize UTM parameters in your Statamic application without requiring middleware.

Using the UtmParameter Facade

Now you can leverage UTM parameters directly within your code using the Request object.
Simply use the Facade and call the boot method.

// before inside the middleware
app(UtmParameter::class)->boot($reqeust)

// afterwards, can be used as facade
use Suarez\StatamicUtmParameters\Facades\UtmParameter;

UtmParameter::boot($request);

Full Changelog: 5.0.5...5.0.6