Auto Rotating Shift Schedules


i want to programme a job rotation strategy application with php
for exemple :
I work in the company of 12 workers
and Every worker must working in the night every two weeks
(two night in one month) :blush:

meanig : A workforce management data with auto Rotating Shift Schedules who well be always available to my data and to my 12 employees with posibility to export data with excel .

can you please give me a some idea ? ther is a exempl disponibl in a codecanyon ?