Question : laravel blade put method
Answered by : good-grouse-hyon03ssawte
{"tags":[{"tag":"p","content":"laravel blade put method"},{"tag":"textarea","content":"<form>\n@method('PUT')\n<\/form>","code_language":"php"}]}
Source : | Last Update : Sun, 12 Feb 23
Question : add method to laravel blade
Answered by : arrogant-addax-cxmsew1sthk5
use Illuminate\Support\Facades\Blade;
/** * Bootstrap any application services. * * @return void */
public function boot()
{ Blade::if('disk', function ($value) { return config('filesystems.default') === $value; });
}
Source : https://laravel.com/docs/8.x/blade#extending-blade | Last Update : Thu, 22 Jul 21