PHP code example of salamwaddah / ok
1. Go to this page and download the library: Download salamwaddah/ok 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/ */
salamwaddah / ok example snippets
// directly using constant
$ok = Ok::OK; // returns 'ok'
// using method
$ok = new Ok();
$ok = $ok->ok(); // returns 'ok'