Efficient bulk data insertion (2.5 lakh records) in Laravel without exceeding PHP time limit? (Queue, multi-tenancy)

I’m encountering a PHP execution time error while inserting approximately 2.5 lakh records into a MySQL database using Laravel Eloquent. I’m aiming to achieve this without increasing the overall execution time, considering the following constraints:

  1. Frontend: Angular
  2. Multi-tenancy: Implemented using
    https://tenancyforlaravel.com/
  3. Attempted solutions: Laravel Queue