PHP code example of altostrat / tools

1. Go to this page and download the library: Download altostrat/tools 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/ */

    

altostrat / tools example snippets


namespace App\Models;

use Altostrat\Billable\BillableModel;
use Illuminate\Database\Eloquent\Concerns\HasUuids;

class MyModel extends BillableModel
{
    use HasUuids;
    
    protected $fillable = [
        'customer_id',
    ];
    
    //
}
bash
php artisan altostrat:install
bash
php artisan altostrat:check