Download the PHP package tvision/rackspace-cloud-files-bundle without Composer
On this page you can find all versions of the php package tvision/rackspace-cloud-files-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package rackspace-cloud-files-bundle
Introduction
Rackspace Cloud Files bundle is a simple and easy way to use the RackspaceCloudFilesStreamWrapper library with Symfony2 applications,
but it has also some facilities for handle the static file with the rackspace cloud files.
This Bundle borns as fork of the escapestudios/EscapeRackspaceCloudFilesBundle, now these two bundles are very different.
see the blog post for more detail
http://www.welcometothebundle.com/symfony2-assets-on-rackspace-cloud-files/
Installation (old school)
see the blog post for more detail
deps:
app/autoload.php
app/AppKernel.php
Installation Composer
-
1 First, add the dependent bundle to the vendor/bundles directory. Add the following lines to the composer.json file
-
2 Then run
composer install
- 3 Then add in your
app/AppKernel
Configuration
app/config/config.yml
Service(s)
Get the Rackspace service to work with:
Usage example without assetic
or
Usage example with assetic
see
http://www.welcometothebundle.com/symfony2-assets-on-rackspace-cloud-files/
Installing bundles assets (public directory) to cloudfiles with rscf:assets:install
special console command
This will copy assets just like the assets:install
command would but directly to cloudfiles.
Note: For those wondering why this command could be needed, note that assetic mainly handles js/css assets, and when
not using the cssembed filter, you still need to install images to your cloudfiles container. This command prevent you
from having to do that by hand.
Installing application assets (public directory) to cloudfiles with assetic:install
special console command
add this into the config.yml
Type to the console
Requirements
-
PHP > 5.3.0
-
rackspace/php-opencloud.git
-
tvision/RackspaceCloudFilesStreamWrapper
- Symfony2
Contribute
Please feel free to use the Git issue tracking to report back any problems or errors. You're encouraged to clone the repository and send pull requests if you'd like to contribute actively in developing the library. than add your name to this file under the contributor section
Contributor
-
thanks for cystbear for the tips
- the bundle is a reengeneering of the escapestudios/EscapeRackspaceCloudFilesBundle
-
liuggio
-
benjamindulau
- toretto460
License
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE
All versions of rackspace-cloud-files-bundle with dependencies
symfony/framework-bundle Version ~2.1
symfony/console Version ~2.1
symfony/finder Version ~2.1
tvision/rackspace-cloud-files-streamwrapper Version ~3.0.0