I am trying to use package aws-sdk-php in my Laravel App. According to documentation it should work as i have included file as following:
use Aws\S3\S3Client;
class MyController extends Controller
{
//My Function Code
}
and class's directory is:
vendor\\aws\\aws-sdk-php\\src\\s3\\S3Client.php
and namespace used in class S3Client
is:
namespace Aws\S3
But its giving me error:
class S3Client not found
What am i missing here?
I am using laravel 5.0.
Thanks
Did you put aws/aws-sdk-php-laravel package in your composer.json file? as mentioned in this link . I don't have high reputation to comment.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.