๐ฅ Laravel Tip
While running the queue worker command in laravel, you can specify the connection type in the command.
for example:
php artisan queue:work <connection_name>
#laravel#laravelTips
๐ฅ Laravel Tip: Emptying a table with related records? ๐ก Use this method shown in the image!
๐ก Hint: You can also use DB::table()->delete() to delete records, but it won't reset the auto-increment on the primary key.
#laravel#laravelTips
๐ฅ Laravel Tip: Redirect users to a specific section of a page using redirect()->to() method.
Simply append #section-id to the URL to scroll directly to that section.
Example: `return redirect()->to(route('https://t.co/TDlGXGbT6L') . '#section-id')`;
#laravel