Skip to content

v.11.1.0

Latest
Compare
Choose a tag to compare
@toni-suarez toni-suarez released this 21 Jun 15:31
· 5 commits to main since this release

What's new

This release introduces a new Facade for the UtmParameter class, making it easier to utilize UTM parameters in your Laravel 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\UtmParameter\Facades\UtmParameter;

UtmParameter::boot($request);

Full Changelog: 11.0.4...11.1.0