Like in many threads people come in and spout whatever is on their mind or they answer questions that were not asked and the thread becomes a mess of people posting things that are true but irrelevant, things that are mistaken and also irrelevant. Can we please read the question again?
I have watched few video in you tube but can not understand how to implement the phase opposition in real hardware(i.e in transformers).
The answer is that you do not "implement the phase opposition in real hardware" because it makes no sense. You wind the transformer and it is how you connect the windings later which determines whether they are in phase or in opposition.
Really. It is very simple.
This is like asking how to make nails such that the point end is pointed towards the wood and the head is towards the hammer. The answer is that you don't do that. You make the nails and when you use them you make sure they are pointed in the right direction and flip them around if necessary.