PHP code example of fuelviews / app-init

1. Go to this page and download the library: Download fuelviews/app-init 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/ */

    

fuelviews / app-init example snippets

bash
php artisan init:install --force
bash
php artisan init:install
bash  
php artisan init:install --dev
bash
php artisan init:status
bash
php artisan init:images
js
// Hot reload paths
input: [
  'resources/css/app.css',
  'resources/js/app.js',
  'resources/views/**/*.blade.php',
  'app/Livewire/**/*.php',
  'app/Filament/**/*.php'
],

// Environment detection
server: {
  host: '0.0.0.0',
  hmr: { host: 'localhost' },
  https: detectTLS(),
}