How to extract from txt text and add to sql database using php

Hello, the question is, there is a txt file that contains passwords and logins in this format:

my_login:my_pass
my_login2:my_pass2

I need to insert them into a SQL table, like this:
image

How to implement this in PHP?