The package library for group add in PHP is called "posix". This library provides a set of functions for working with system-level functionality like permissions, users, and groups. The functions used in the above examples, namely `posix_group_add()` and `posix_group_add_member()`, are part of this library.