new command is probably the first one you’ll ever use.
This command will install Laravel into the provided directory name and then install NativePHP, ready to go for you.
Install & Run
By default,nativecli new will:
- Create a Laravel project.
- Install either
nativephp/desktopornativephp/mobile. - Run
php artisan native:install. - Prompt to run
php artisan native:run.
--jump to run php artisan native:jump instead.
Command
Syntax:Options
—mobile
Indicates whether the project should be set up with NativePHP for Mobile, instead of Desktop.—jump
Runnative:jump and skip the install and run flow.