Every copy of PHPDocx can be used on a proper registered domain and in localhost [b]only for development purposes[/b], so you dont need to buy two copies of PHPDocx. In fact, you can retain this development copy for create new services for future web developments that, of course, needs a registered copy of PHPDocx.
Greetings.