Almost require to create an active inactive functionality in laravel. it might be required for user status, product status, category status, etc. we have always enabled or disabled, active and inactive, etc. you can do it this toggle status active inactive PHP example this time.
Active Inactive Status Using Toggle Button/Slide laravel 8