Laravel provides the app()->make() method, which allows you to pass runtime parameters. link to docs here: https://laravel.com/docs/11.x/container#the-make-method