PHP code example of isaiasg3 / laravel-inertia-type-sync

1. Go to this page and download the library: Download isaiasg3/laravel-inertia-type-sync 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/ */

    

isaiasg3 / laravel-inertia-type-sync example snippets

bash
php artisan inertia:sync-types
json
{
    "scripts": {
        "post-autoload-dump": [
            "@php artisan inertia:sync-types --ansi"
        ]
    }
}