novuhq / novu-php

PHP SDK for Novu - The open-source notification infrastructure for engineers. :rocket:
https://docs.novu.co/sdks/php
MIT License
84 stars 23 forks source link

Can't specify a different $baseUri for running against a local or selfhosted version. #29

Closed isaiahdahl closed 1 year ago

isaiahdahl commented 1 year ago

the API url to make requests is hardcoded to be https://api.novu.com/v1/

Novu.php

     /**
     * The Novu API Base URL.
     *
     * @var string
     */
    protected $baseUri = 'https://api.novu.co/v1/';

It doesn't appear that this is something that can be set from an environment variable.