PHP code example of alengo / sulu-media-extra-bundle

1. Go to this page and download the library: Download alengo/sulu-media-extra-bundle library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

alengo / sulu-media-extra-bundle example snippets


Alengo\SuluMediaExtraBundle\AlengoMediaExtraBundle::class => ['all' => true],
xml
<format key="400x300" internal="true">
    <scale x="400" y="300"/>
</format>
<format key="400x300@2x">
    <scale x="800" y="600"/>
</format>