Dumping PS4 PKG Files, and with Select PC Drives people have been dumping (minus decrypting) PS4 games since late 2013... but if you have a 1.76 OFW console you can also dump disc-based games from the PlayStation 4 itself thanks to a brief guide from e✘treme-Modding.de!
To quote, roughly translated: Dump Disc Games on PS4 1.76
Since not every drive reads PS4 disc games, there is the possibility to read the content via the PS4.
1. Insert the PlayStation 4 game disc
2. Open the game and create an FTP connection
3. The contents of the disc are located under / mnt / disc
To copy the files, the game must remain open. The original size of the app.pkg is not displayed during the transfer.