1. Go to this page and download the library: Download coedevtech/fixit 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/ */
coedevtech / fixit example snippets
use Fixit\Facades\Fixit;
$encrypted = Fixit::encrypt(['email' => '[email protected]']);
$decrypted = Fixit::decrypt($encrypted);
use Fixit\Contracts\FixitAlertInterface;
class SlackAlert implements FixitAlertInterface {
public function send(string $message, ?Throwable $exception = null, ?string $suggestion = null): void {
// Your logic here
}
}