You don't have to use animal inputs but a lot of them work well.
What is readily available to you?
For P it could be Bone Meal, Fish Bone Meal, Soft Rock Phospate, Hi P Bat or Sea Bird guano, etc
A common amount on re-amending before using the soil again is something like 1 cup of each amendment...