Hello,
Over the last few days I have been playing with Paperwork which aims to be an open-source, self-hosted alternative to services like Evernote, Microsoft OneNote or Google Keep.
Paperwork is written in PHP, utilising the Laravel 4 framework. It provides a modern web UI, built on top of AngularJS & Bootstrap 3, as well as an open API for third party integration.
I have written a small tutorial which you can find at the link below. Let me know how you get on.
http://tux.x10host.com/blog/index.php/2 ... archiving/