Skip to content

Zend Library Class for invalidating Amazon CloudFront objects via its API.

Notifications You must be signed in to change notification settings

ifavo/Zend-Framework-CloudFront-Invalidator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Zend Library Class for invalidating Amazon CloudFront objects via its API.

The Class is based on https://github.com/subchild/CloudFront-PHP-Invalidator

To integrate the class into your existing Zend Framework, copy everything into your library folder
and add the following line to your application.ini for auto-loading:

autoloaderNamespaces.favo = "favo_"


Here's a quick example on how to use it:

Zend_Service_Amazon_S3::setKeys( $accessKey, $secretKey );

$cloudFront = new favo_Service_Amazon_CloudFront();
$cloudFront->setId( $cloudFrontDistributionId );
$cloudFront->invalidate ( array( '/file.jpg', 'file2.txt') );

About

Zend Library Class for invalidating Amazon CloudFront objects via its API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%