PHP code example of nuewire / installer

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

    

nuewire / installer example snippets


'queue' => [
    'package' => 'nuewire/queue',
    'constraint' => '^1.0',
    'label' => ['id' => 'Queue', 'en' => 'Queue'],
    'description' => ['id' => 'Konfigurasi queue.', 'en' => 'Queue configuration.'],
    'recommended' => false,
    'order' => 40,
],

'ui' => [
    'allow_updates' => true,
    'allowed_environments' => ['local'],
    'authorization' => [
        'gate' => 'manage-package-updates',
    ],
],
bash
php artisan nuewire:install
php artisan nuewire:status --updates
php artisan nuewire:update
bash
composer dump-autoload
php artisan package:discover --ansi
php artisan optimize:clear
bash
php artisan nuewire:users:install --migrate [email protected]
php artisan nuewire:acl:install [email protected]