PHP code example of ptlis / psr7-conneg
1. Go to this page and download the library: Download ptlis/psr7-conneg 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/ */
ptlis / psr7-conneg example snippets
use ptlis\Psr7ConNeg\Negotiator;
$negotiator = new Negotiator();