PHP code example of salehhashemi / laravel-intelli-db

1. Go to this page and download the library: Download salehhashemi/laravel-intelli-db 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/ */

    

salehhashemi / laravel-intelli-db example snippets


    php artisan vendor:publish --provider="Salehhashemi\LaravelIntelliDb\LaravelIntelliDbServiceProvider"
    

php artisan ai:rule YourRuleName

php artisan ai:rule YourRuleName --description="Your rule description"

php artisan ai:factory YourFactoryName

php artisan ai:factory YourFactoryName --model="YourModelName"

php artisan ai:model YourModelName

php artisan ai:rule UniqueEmail --description="Validate unique email address"

php artisan ai:factory UserFactory --model="User"

php artisan ai:model Address