Using php inside of eaver Builder

Does beaver builder allow fully customizable php code? For example, I want to be able to use FTP files and implement connections to databases. I know there are code snippets out there, but I was wondering if BB had their own version or way of implementing php code.