slim 3 code example Example 1: slim 3 composer require slim/slim:3.* Example 2: slim 3 <?php require 'vendor/autoload.php';