PHP: finished repository