happy new year everyone!

here again to ask some questions about my visa. ive been living here in the uk for more than 18 months now. ive only got 7 days left on my allowed holiday on my visa which is gunna expire in july this year. i need to go back to philippines in april to sort some family matters out, coz of that i wont be able to finish my spouse visa period. we're just wondering, what about i decided to come over again sometime after my visa expires, do i need to apply for another spousal visa since i didnt get to stay here for 2 years or am i still gunna be eligible for ilr? any advice will be much appreciated. thanks! once again happy new year!