why cannot connect to SQLITE [duplicate]

   IlluminateDatabaseQueryException 

  could not find driver (Connection: sqlite, SQL: select exists (select 1 from "main".sqlite_master where name = 'migrations' and type = 'table') as "exists")

  at vendorlaravelframeworksrcIlluminateDatabaseConnection.php:822
    818▕                     $this->getName(), $query, $this->prepareBindings($bindings), $e
    819▕                 );
    820▕             }
    821▕ 
  ➜ 822▕             throw new QueryException(
    823▕                 $this->getName(), $query, $this->prepareBindings($bindings), $e
    824▕             );
    825▕         }
    826▕     }

  1   vendorlaravelframeworksrcIlluminateDatabaseConnectorsConnector.php:67
      PDOException::("could not find driver")

  2   vendorlaravelframeworksrcIlluminateDatabaseConnectorsConnector.php:67
      PDO::connect()