The anthropic principle basically states that the universe must be compatible with the conscious life (us and possibly any alien lifeforms) that observes it.
It has some different flavors, but there are two main branches:
The strong anthropic principle (SAP) - The universe is compelled in some way to have the conditions to allow life to observe it. (Too) simply put, we somehow had a hand in making the universe what it is.
The weak anthropic principle (WAP) - The fact that we are here to observe the universe is because of some random selection processes for universes - another universe with different physical laws would not be compatible with life and therefore nobody would be in it to observe it. A selection process for universes, so to speak.
Hope this helps.