PHP code example of inova / nova-laravel-starter

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

    

inova / nova-laravel-starter example snippets

bash
composer install --no-dev --optimize-autoloader
cp .env.example .env    # 填域名、数据库等;APP_ENV=production、APP_DEBUG=false
php artisan key:generate
php artisan migrate --force
php artisan nova-admin:create-admin    # 用 NOVA_ADMIN_NAME / EMAIL / PASSWORD 覆盖默认凭据
php artisan optimize