eightfold path

Yogic Moral Code: The Yamas and Niyamas

In yogic philosophy, the first two limbs of Patanjali’s eightfold path outline the yamas and the niyamas – together, a code of ethics for how to be in the world. As few things are in yogic thought, the appearance of the yamas and nimayas as the first and second of the eight limbs of Raja yoga is not haphazard. These two sets of five restraints and five observances form the foundation of the yogic path to samadhi, or divine union and enlightenment.