Cannot delete data laravel 8

hello friends I want to ask, why the data is not deleted? I have clicked on it but in the database it is not deleted. My php version 8 migration public function up() { Schema::create(‘…

URL masking with Laravel

How to mask URL in Laravel? For example, when a user post this https://somewhere.com/anywhere.php and I want to mask it to become something like https://mywebsite.com/rxxx then https://mywebsite.com/…

Laravel Carbon usage

I have a query.So when i try get data from database,it show me null. $heading = DB::table(‘heading’)->where(‘heading.post_date’,Carbon::today())->first();