I have tried Calibre, but it’s most orientated to books as it orders files by author. I also tried Mendeley, but it’s most orientated to (mainly scientific) articles, and it’s principally an online community of researchers.

The software that I want can be even a PHP based db. Any suggestion?