PHP code example of voicecode-bv / mobile-photos

1. Go to this page and download the library: Download voicecode-bv/mobile-photos 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/ */

    

voicecode-bv / mobile-photos example snippets


use Voicecode\Mobile\Photos\Photos;

app(Photos::class)->save('https://cdn.example.com/photo.jpg');
app(Photos::class)->save('https://cdn.example.com/clip.mp4', 'video');
bash
php artisan native:plugin:register voicecode-bv/mobile-photos