

"aws_secret_access_key" => env('AWS_SECRET'), Make Command Tinyfy.php, it will create file in folder app/Console/Commands/ php artisan make:command Tinyfy Install packaghe using composer composer require tinify/tinify I just save you $1026 Usage with Laravel (PHP) Tinify\setKey($keys) Įach time when you call api you should use different (random) key.Ģ0 account * 500 free conversion = 10.000 conversion for FREE !įor more advance setup you can store all keys in database, than call each key evenly. Just make it randomĪdd all 20 keys to array // Add all keys to array You need about 10 minutes to do this :D Sweet :D Step 2.

Click "Visit your Dashboard" button in email ( verify email) (go one by one email)ĭo this for all 20 accounts and you will have 20 API KEYS !!!.Verify 20 email address & Get API KEYĪfter you register 20 accounts using plus sing you will need to: Register 20 email address using plus signs in email addresses 15 more emails.

You can do it for less than 20 min :D Step 1. If we need 10.000 images/per month, we need to register 20 accounts.Ģ0 account * 500 free images = 10.000 free image compressions per month. Yes, i know, i will save you a lot of bucks with this litle "hack"įor each api key you get free 500 images/per month. I found a easy way to "overpass" 500 images/month and compress more than 10k images per month for FREE

You will only be billed if you compress more than 500 images.įor 10.000 compressed images you will pay $85.50 per month / $1026 per year The first 500 compressions each month are free. If you look at their pricing you will see that NETĭetailed information and code samples are available in the API reference.
