PHP code example of ivanaquino / laravel-credithub
1. Go to this page and download the library: Download ivanaquino/laravel-credithub 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/ */
ivanaquino / laravel-credithub example snippets
return [
'type_field' => 'string',
];
// ...
use IvanAquino\LaravelCredithub\Contracts\HasCredits;
use IvanAquino\LaravelCredithub\Traits\CreditTransactional;
class User extends Model implements HasCredits
{
use CreditTransactional;
}
// ...