After executing these commands you have to restart your server which executes the php .If you are using apache restart apache or else if you are using nginx and php-fpm restart php-fpm.
There is a autoload file that’s capable of autoloading all of the classes in any of the libraries of aws. To use it, just add the following line to your code’s bootstrap process.