PHP code example of okaufmann / qwertee-php

1. Go to this page and download the library: Download okaufmann/qwertee-php 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/ */

    

okaufmann / qwertee-php example snippets




use Okaufmann\QwerteePhp\Qwertee;

$lastChance = Qwertee::lastChance();
var_dump($lastChance);

[
    [
        'title'=> 'Cyber Monday InsaniTEE Sale!',
        'zoom'=> 'https://cdn.qwertee.com/images/designs/product-thumbs/1575287644-156381-zoom-500x600.jpg',
        'mens'=> 'https://cdn.qwertee.com/images/designs/product-thumbs/1575287644-156381-mens-500x600.jpg',
        'womens'=> 'https://cdn.qwertee.com/images/designs/product-thumbs/1575287644-156381-womens-500x600.jpg',
        'kids'=> 'https://cdn.qwertee.com/images/designs/product-thumbs/1575287644-156381-kids-500x600.jpg',
        'hoodie'=> 'https://cdn.qwertee.com/images/designs/product-thumbs/1575287644-156381-hoodie-500x600.jpg',
        'sweater'=> 'https://cdn.qwertee.com/images/designs/product-thumbs/1575287644-156381-sweater-500x600.jpg',
        'releasedAt'=> '2019-12-01',
    ],
    // ...
]
bash
composer