PHP code example of diegosurita / pennant-ui

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

    

diegosurita / pennant-ui example snippets


use Laravel\Pennant\Feature;

public function boot(): void
{
    Feature::discover();
}
bash
php artisan vendor:publish --provider="Laravel\Pennant\PennantServiceProvider"
php artisan migrate
bash
php artisan vendor:publish --tag="pennant-ui"
bash
php artisan vendor:publish --tag="pennant-ui-config"
bash
php artisan vendor:publish --tag="pennant-ui-views"
bash
php artisan vendor:publish --tag="pennant-ui-lang"
bash
php artisan vendor:publish --tag="pennant-ui-assets"