php specs for attachments service