PHP code example of guifavere / laravel-simple-scopes

1. Go to this page and download the library: Download guifavere/laravel-simple-scopes 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/ */

    

guifavere / laravel-simple-scopes example snippets


createdFrom::('2023-12-06');
createdTo::('2023-12-06');
modifiedFrom::('2023-12-06');
modifiedTo::('2023-12-06');

use GuiFavere\LaravelSimpleScopes\Dates\DateScopes;

class Resource extends Model
{
    use DateScopes;
}

use GuiFavere\LaravelSimpleScopes\Dates\DateQueries;

class ResourceQueryBuilder extends Builder
{
    use DateQueries;
}