it's not that easy.. you still need a coop, feed them regularly, take the eggs, close the door every evening, open in the morning. The latter I automated with raspberry PI and some actuators 
GitHub
GitHub - matevz/chickencoop: Automated chicken coop based on RPi
Automated chicken coop based on RPi. Contribute to matevz/chickencoop development by creating an account on GitHub.