- Install Laravel v9.22.1
- default port 8000
php php artisan serve
- using port 8001
php php artisan serve --port:8001
- development using apache
php php -S 127.0.0.1:8001 -t public
- default port 8000
- Config
- set timezone, change file
config\app.php
change from'timezone' => 'UTC',
to'timezone' => env('APP_TIMEZONE', 'UTC'),
, add new key in.env
keyAPP_TIMEZONE='Asia/Jakarta'
- set timezone, change file
- Make Component
php artisan make:component nameComponent
The Laravel framework is open-sourced software licensed under the MIT license.