PHP Compose Resources