Folding box from template - Blender Tutorial

Here is the method I used to create the folding box in the Vivid Kingdoms video for Ten Hundred!
It uses a template to create geometry which is then parented to an armature for animation.

You can check the wireframe option in the viewport display panel of the package mesh to make the placement of the bones easier.