![](https://i0.wp.com/media.dev.to/cdn-cgi/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk1pwf4logche3adm94zm.png?w=1320&ssl=1)
<?php namespace App\Providers; use Illuminate\Contracts\Foundation\Application;
use Illuminate\Foundation\Http\Middleware\ValidateCsrfToken;
use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider
{ /** * Register any application services. */ public function register(): void { // } /** * Bootstrap any application services. */ public function boot(): void { // here we can use any value from env() or config() ValidateCsrfToken::except('*'); }
}
Discover more from Coursity
Subscribe to get the latest posts sent to your email.