<?php
namespace AppProviders;
use IlluminateContractsFoundationApplication;
use IlluminateFoundationHttpMiddlewareValidateCsrfToken;
use IlluminateSupportServiceProvider;
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(‘*’);
}
}