symfony - installing aws API on symfony2 -


i working on project under symfony 2.1 need install , use aws api (for using cloud php/curl). follow these insctructions choose composer installing sdk ('cause symfony use composer).

the download of sources file have worked, , in vendor directory got aws sources. in code source, classes of amazon returns error ("fatal error : class [...] not found [...]"

so think problem comes symfony dont load sources files. try search on internet, , try find way alone (looking on files etc ...)

but didnt find way load sources files. try add on appkernerl build directory of sdk. nothing happens. try require_once file named (phar-stub.php, in build directory). error show up.

can me please,

you may use symfony2 bundle wraps offical aws sdk - https://github.com/seferov/aws-bundle

after configuring bundle, can call aws clients simple this:

// ... public function indexaction() {     $ec2 = $this->get('aws.ec2');     // ... }  

Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -