PHP code example of imanghafoori / laravel-makesure
1. Go to this page and download the library: Download imanghafoori/laravel-makesure 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/ */
imanghafoori / laravel-makesure example snippets
MakeSure::about($this)->
->sendingGetRequest('some-url')
->isRespondedWith()
->statusCode(402);
// Instead of writing this :
$this
->get('some-url')
->assertStatus(402);