For Example, when I give it 01/01/2020 it should know that it's week 1 or 12/03/2020 it is week 13. All this in a Laravel app.
If it implements DateTimeInterface You can use DateTime::format() method with 'W'. More info and usecases here.