I have just recently tackled the same problem with my own hallway. The solution I did was as follows. I cut a piece so that it would fit the door opening and a little more, so that it will go under the door frame. I have cut this piece so that on one side there is still the laminate "click" side, while the other is naturally cut off (this is piece 2 in the drawing). This way you can attach another laminate piece to this one. Next, I cut a narrow piece of laminate (piece 1) that can click on to piece 2. Finally, I have cut piece 3 so that it will butt against piece 2. Since there is no "click" side there, there is a small gap (if you can cut it accurately enough without leaving a gap, the better). This gap I have filled with wood glue mixed with sawdust from cutting the laminate boards. For my particular laminate it is a very close match to the color of the laminate, plus is it quite a small section (for me it was around an inch). From standing height it is barely noticeable, and can be improving by careful sanding. If you have something better as the filler, than by all means use it.
You can switch between pieces 1 and 3 (in terms of which one will have the "click" side, depending on the rest of you hallway laminate orientation.
For the assembly, piece 2 (or the one it will gone with) should have the "click" partially removed, so that it can be slid from the opposite room, under the door frame and into place, with the a line of glue holding the two pieces together. Then piece 1 can be clicked to place, and piece 3 clicked and glued.
![Laminate suggestion](https://i.stack.imgur.com/g216Z.png)
Edit: here are some pictures. First, the glued part. In the picture it looks much worse than in real life (also ignore the lack of skirting board). The glue goes all around the piece since there were some gaps in all directions and as I said, it is barely noticeable from standing height:
![Glued laminate](https://i.stack.imgur.com/kBZX8.jpg)
Here the opposite side of the doorway, where the piece is clicked. Note that the central part (piece 2) goes well under the door frame:
!["Click" laminate](https://i.stack.imgur.com/hSSCU.jpg)
And finally the entire door frame. Excuse the blurry shot, but I hope it is enough to give you an idea of my installation:
![enter image description here](https://i.stack.imgur.com/fJUIh.jpg)
Edit 2: Following the OP's comment, I have an idea about how to put piece 2 in place if you can't slide it from the opposite room. This requires you to not have finished placing the boards in the hallway. You'll need to place some temporary boards up to the door in question, then measure and cut piece 2. Remove the temporary boards and slide piece 2 from the hallway. Then you can continue laying the boards as usual. To connect piece 2 with the real board before it, you still have to slide it out a little (out of the hallway, into the next room), lay the board and slide piece 2 back in. Sounds complicated, but I can't think of another approach.
While I disagree with your orientation, this isn't really that hard as long as you're using a floating floor.
Start by running a line of boards across all three rooms, and orient them so they are as perpendicular as possible to all the walls. (Alternatively snap a chalk line to represent the left edge of that single line of boards.
Now in each room, measure from the left edge (or chalk line) of the board to the left hand wall. Divide that distance by the width of your boards. The remainder is the width of your starter boards in each room. Rip your boards to fit.
Start laying the boards out in the room with the most distance to the left of the line. When you get to your opening, stop - lay the boards out in the next room until they come up to the opening. Run your line of boards from the first room into the 2nd room.
Now since its a floating floor, shift the floor in the new room to align with the board sticking into the room. Click the connecting board into place, and you now have a continuously aligned run.
Repeat for room 3.
Best Answer
In general, all tile and plank layout should be done to maximize the size of the pieces along both the starting wall and the finish wall. in general, unless you have at least 3/4 of a unit at the end wall, you wan to cut both the starting and ending rows to have a more balanced appearance. (Even with 3/4 of a full plank, you may still want to divide the difference for a more symmetrical appearance).
Assuming fairly square walls, you figure out the size of the edge strips as follows:
Examples:
and
In general, flooring will be finished with a molding over a gap left around the perimeter (usually 1/4" to 3/8" depending on the flooring material). This gap is needed to accommodate shifting of the flooring materials due to seasonal shrinking and swelling.
The door transition needs to be adjusted to reflect the door saddle or other capping mechanism. A gap is needed at that transition as well as the wall edges. You could use either A or B if the door transition cover will give at least a 1/2" cover of the edge.