delete a record laravel code example
Example 1: php artisan make model
php artisan make:model Flight
Example 2: create new record via model in laravel
$userData = array('username' => 'Me', 'email' => '[email protected]');
User::create($userData);