PHP code example of pnx / laravel-ignite

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

    

pnx / laravel-ignite example snippets


'providers' => [

    ...

    /*
     * Package Service Providers...
     */
    Ignite\ServiceProvider::class,

    ...
],
html
<x-ignite-checkbox name="user_banned" class="px-4 py-2" />
html
<x-ignite-toggle-switch name="user_banned" class="px-4 py-2" />