The first Hindu teacher to actively advocate and disseminate aspects of yoga, not including asanas, to a western audience, Swami Vivekananda, toured Europe and the United States in the 1890s. The reception which Swami Vivekananda received built on the active interest of intellectuals, in particular the New England Transcendentalists, among them Ralph Waldo Emerson (1803–1882), who drew on German Romanticism and philosophers and scholars like G. W. F. Hegel (1770–1831), the brothers August Wilhelm Schlegel (1767–1845) and Karl Wilhelm Friedrich Schlegel (1772–1829), Max Mueller (1823–1900), Arthur Schopenhauer (1788–1860), and others who had (to varying degrees) interests in things Indian.
Pre-philosophical speculations of yoga begin to emerge in the texts of c. 500 – c. 200 BCE. Between 200 BCE and 500 CE, philosophical schools of Hinduism, Buddhism, and Jainism were taking form and a coherent philosophical system of yoga began to emerge. The Middle Ages saw the development of many satellite traditions of yoga. Yoga came to the attention of an educated western public in the mid 19th century along with other topics of Indian philosophy.
According to Geoffrey Samuel, our "best evidence to date" suggests that yogic practices "developed in the same ascetic circles as the early śramaṇa movements (Buddhists, Jainas and Ajivikas), probably in around the sixth and fifth centuries BCE." This occurred during what is called the ‘Second Urbanisation’ period. According to Mallinson and Singleton, these traditions were the first to use psychophysical techniques, mainly known as dhyana and tapas. but later described as yoga, to strive for the goal of liberation (moksha, nirvana) from samsara (the round of rebirth).
^ "Sidang Media – Fatwa Yoga". Islam.gov.my. Archived from the original on 6 January 2009. Retrieved 5 September 2010. Quote: The Fatwas of Religious Council in Islamic affairs on Yoga. After carefully studied various reports and factual data, the Council unanimously agreed that this ancient India religious teachings, which involves physical and mental exercises, are Hinduism in nature known as wahdat al-wujud philosophy (oneness of existence; the realization of identity between the Self in man, Atman; and the Divine, BRAHMAN: ‘Brahman is all, and Atman is Brahman'). It is prohibited (haram) for Muslims to practice it.
Another text which teaches yoga with an Advaita point of view is the Yoga-Yājñavalkya. This work contains extensive teachings on ten Yamas (ethical rules) and ten Niyamas (duties), and eight asanas. It also discusses a theory of nadis and prana (vital breath), and follows this with instructions on pranayama (breath control), pratyahara (sense withdrawal), meditation on mantras, meditative visualizations and Kundalini.