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).
Śaradatilaka of Lakshmanadesikendra, a Shakta Tantra work 11th century CE "Yogic experts state that yoga is the oneness of the individual soul (jiva) with the atman. Others understand it to be the ascertainment of Siva and the soul as non-different. The scholars of the Agamas say that it is a Knowledge which is of the nature of Siva’s Power. Other scholars say it is the knowledge of the primordial soul." (SaTil 25.1–3b)
Rāmānuja (1017–1137 CE) is of the most important theologians of Bhakti yoga, breaking with the Advaita tradition's absolute nondualism and instead arguing for a "qualified nondualism" (Viśiṣṭādvaita) which allows for a certain difference between atman and Brahman and thus it provides a strong theological foundation for devotional theism. Another influential figure of this tradition is Madhva (1238–1317 CE), who argued for a form of dualism between God and soul.
During the Gupta period (4th to 5th centuries), a movement of northern Mahāyāna Buddhism termed Yogācāra began to be systematized with the writings of the Buddhist scholars Asanga and Vasubandhu. Yogācāra Buddhism received the name as it provided a "yoga," a systematic framework for engaging in the practices that lead through the path of the bodhisattva towards awakening and full Buddhahood. Its teachings can be found in the comprehensive and encyclopedic work, the Yogācārabhūmi-Śāstra (Treatise on the Foundation for Yoga Practitioners), which was also translated into Tibetan and Chinese and thus exerted a profound influence on the East Asian Buddhist and Tibetan Buddhist traditions. According to Mallinson and Singleton, the study of Yogācāra Buddhism is essential for the understanding of yoga's early history, and its teachings influenced the text of the Pātañjalayogaśāstra.
Description of an early form of yoga called nirodhayoga (yoga of cessation) is contained in the Mokshadharma section of the 12th chapter (Shanti Parva) of the Mahabharata (third century BCE). Nirodhayoga emphasizes progressive withdrawal from the contents of empirical consciousness such as thoughts, sensations etc. until purusha (Self) is realized. Terms like vichara (subtle reflection), viveka (discrimination) and others which are similar to Patanjali's terminology are mentioned, but not described. There is no uniform goal of yoga mentioned in the Mahabharata. Separation of self from matter, perceiving Brahman everywhere, entering into Brahman etc. are all described as goals of yoga. Samkhya and yoga are conflated together and some verses describe them as being identical. Mokshadharma also describes an early practice of elemental meditation. Mahabharata defines the purpose of yoga as the experience of uniting the individual ātman with the universal Brahman that pervades all things. https://www.facebook.com/Buzzing-Offer-Digital-Marketing-1107247206148320/