Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Mailjet API without composer #5

Open
maxBilla opened this issue Dec 5, 2019 · 1 comment
Open

Use Mailjet API without composer #5

maxBilla opened this issue Dec 5, 2019 · 1 comment

Comments

@maxBilla
Copy link

maxBilla commented Dec 5, 2019

Hello,

I've been trying for 2 days now, to import mailjet library in my PHP project. This is an homemade framework and the mailjet's autoloader is overwriting the current autoloader. I have to find a way to import maiIjet without breaking the framework's logic. I also cannot understand why in the "no-composer" version, there are the composer's components (what is the purpose of this repo ?).
I succeed to create a Mailjet client by importing mailjet's files one by one but, when sending an email, it throws an error :

require_once(): Failed opening required '/home/www/../lib/GuzzleHttp/Client.php'

I also found a beginning of an answer but I can't make it works ...
https://ehikioya.com/how-to-install-php-packages-without-composer/

I would like to know if there is a working way to use mailjet without composer.

Thanks !

@btronquo
Copy link

Hi, It's late and the dev of mailet never answered you so here I am , 1 year later xD

You can use my repo: https://github.com/btronquo/mailjet-v3-no-composer

Juste clone and use it like the doc says 'require autoload.php'
That's it ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants