Laravel ?????? ???? ?? ?? ??? ?? ? ?? ?? ??, ? Artisan, Ticker ? REPL? ?????. ? ???? Artisan? ?? ??? ?????.
?? ??
Artisan? Laravel?? ?? ???? ??? ??????? ? ?????? ??? ??? ?? ??? ???? ????.
?
??? ??? ??? ?? Artisan? ? ?? ?? ????? ?
??? ????? ?????
php artisan serve
?? ????? ??????
php artisan route:cache
Artisan?? ???? ?? ??? ??? ??? ???
php artisan list
?? ??? ?? ???? ?? ?? ??? ??? ??? ???
php artisan help serve
?? ????? ?? ??? ??? ??? ?????. ?
?? ??
Artisan? ??? ?? ??? ???? ? ???????? ??? ? ?? ??? ?? ??? ??? ?? ????. ??? app/console/commands ????.
? ???? ????.
??? ?? ??? ???? ?? ?? ??? ??? ???? ?
php artisan make:console <name-of-command>
?? ??? ???? ?? ????? ?? ??? ? ? ???? ?
DefaultCommand??? ??? ??? ??? DefaultCommand.php?? ??? ????? ?
<?php namespace App\Console\Commands; use Illuminate\Console\Command; class DefaultCommand extends Command{ /** * The name and signature of the console command. * * @var string */ protected $signature = 'command:name'; /** * The console command description. * * @var string */ protected $description = 'Command description'; /** * Create a new command instance. * * @return void */ public function __construct() { parent::__construct(); } /** * Execute the console command. * * @return mixed */ public function handle() { // } }
? ???? ???? ??? ??? ?? ??? ??? ???? ????. handle??? ?? ??? ??? ??? ? ??? ?????. ? ??? ??? ????? Kernel.php ??? ???? ????.
?? ??? ?? ??? ?? ??? ?? ?? ??? ?? ?? ????. ?
<?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ // Commands\Inspire::class, Commands\DefaultCommand::class ]; /** * Define the application's command schedule. * * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ protected function schedule(Schedule $schedule) { // $schedule->command('inspire') // ->hourly(); } }
??? ??? ?? ?? ??? hourly ????? ???? ??? ???? ?? ????? ???? schedule?? ??? ?????.
??? ??? ??? ??? ???? ?? ??? ?????.
???? ???? Artisan ??? ??? ?????. ??? ??? ??? ??? ???? ?? ? ?? ??? ??? ?? ?????.
?? DefaultCommand? ??? ?? ??? ???????. ??? ?? ??? ???? ??? ?
php artisan help DefaultCommand
? ??? Laravel - ?? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











SPA (Single Page Applications) Laravel ? Vue.js? ???? ?? ? ? ????. 1) Laravel?? API ??? ? ????? ???? ??? ??? ?????. 2) vue.js?? ?? ??? ? ??? ??? ??? ??? ????? ? ??? ?? ??? ??????. 3) CORS? ???? ??? ?? ??? AXIOS? ??????. 4) Vuerouter? ???? ??? ??? ???? ??? ??? ??????.

Efficient methods for testing Laravel API interfaces include: 1) using Laravel's own testing framework and third-party tools such as Postman or Insomnia; 2) ?? ???, ?? ??? ? ?? ??? ??; 3) ?? ?? ??? ???? ?????? ??? ?????. ??? ??? ?? API? ???? ??? ???? ?? ? ? ????.

??? ?? Laravel ??? ?? ??? ?? ??? ?? ??? ? ????. 1. ??? ??? ?? ??? ? ? ?? ?? ?? ??. 2. ??? ?? ?? ???? ??? ?? ????? ??????. ??? ?? ?? ???? Laravel? ?? ???? ?? ?? ??? ???? ??, ?? ? ?? ?????? ?????.

Laravel?? ???? ??? ???? ??? ?????. 1) ??? ? ???? ?? ???? ?? ??; 2) ?? ?? ? ??? ??? ???. 3) Artisan Command? ???? ??? ?? ?? ??; 4) ?? ??? ???? ??; 5) Packagist? ?? ?? ? ?? ??; 6) ??? ??? ??; 7) ??? ?? ??; 8) ?? ?? ???? ??? ??.

Laravelsocialite ???? ???? Laravel ??? ??? ?? ??? ???? ?? ? ? ????. 1. ??? ??? ?? : ComposerRequirelaravel/Socialite ??. 2. ??? ?? ?? ? ?? ?? : config/app.php?? ?? ??? ??????. 3. API ?? ?? ?? : .env ? config/services.php?? ?? ??? API ?? ??? ??????. 4. ?? ???? ?? : ?? ??? ??? ????? ???? ?? ???? ? ?? ??? ??????. 5. FAQ ?? : ??? ???, ??? ???, ?? ? ?? ??? ?????. 6. ??? ?? :

Laravel?? ?? ??? ?? ?? ?? ??? ?????. 1. ??? ???? ???? .env ???? ?? ?? ??? ?????. 2. ??/web.php?? ???? ??? ??? ?????. 3. ??? ??? ??? ??; 4. ??? ??? ??? ??? ?? ?????? ???? ??? ?? ??? ??????. 5. ??? ?? ??? ?????? ??? ??????. 6. ???? ???? ??? ? ???? ?? ???? ?? ????? ??????.

Laravel ??????? ???? ?? ???? SQL ??, XSS (Cross-Site Scripting Attack), CSRF (Cross-Site Request Resperery) ? ?? ??? ???? ?????. ?? ???? ??? ?????. 1. SQL ??? ??? ?? ?? ??? ??? Eloquentorm ? QueryBuilder? ??????. 2. ??? ??? ???? XSS ??? ???? ?? ??? ??? ???? ???????. 3. CSRF ??? CSRF ?????? ?? ????? ?????? ?? ? AJAX ???? CSRF ??? ??????. 4. ?? ??? ???? ?? ?? ???? ???? ???? ?????. 5. ??? ?? ???? ???? ???? ?? ??? ? ?? ?? ? ?? ???? ?????.

????? Laravel? ??? ?????? HTTP ??? ?? ?? ???? ? ?????. ?? ?? : 1. ???? ?? : "Phpartisanmake : Middlewarecheckrole"??? ??????. 2. ?? ?? ?? : ?? ? ??? ?? ??? ????. 3. ???? ?? : kernel.php? ????? ??????. 4. ???? ?? : ??? ??? ????? ??????.
