-
Notifications
You must be signed in to change notification settings - Fork 625
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
Vendor autoload.php doesn't exist? #638
Comments
Have you installed it with `composer require`?
… |
No. The docs say using composer is optional. I'm not familiar with composer and I would rather not use it if I can. |
Although using composer is not required I do really recommend it. It makes updating so much easier and its super easy to use. But here goes: If you dont want use composer you need to download the project as
|
Add that where? |
Also, there's no such file "loader.php" in the root folder of sendgrid-php. |
Even when replacing: require("./sendgrid/sendgrid-php.php"); For require("./sendgrid/lib/loader.php"); I get the following error:
|
I had to end up using composer... |
Hi @alvarotrigo, My apologies, you received that last error because of this bug. I'm glad you were able to get things going with Composer, it's an excellent tool. With Best Regards, Elmer Thanks for helping out @martijnmelchers! |
Thanks for the info! |
This bug is still here in Jan 2020. Update the documentation on https://sendgrid.com/docs/for-developers/sending-email/v3-php-code-example/ It isn't helpful to the product to have stale documentation, and then just say 'Use composer' when it it Literally in the documentation. |
@alvarotrigo @pleckie i made a PR that allows for standalone usage (still requires the |
I'm getting the following error:
I found these related issues but there's no proper solution offered there: #407
Why is this vendor not file not included in github??
The PHP example you guys provide doesn't even work this way.
The text was updated successfully, but these errors were encountered: