Aes256 Cryptography

Hi i am using php in my backend , i want to secure my database using encryption decryption so how can I do .
In niotron security component available required 5 parameter
Key,iv, str,mode , padding but i am using aes-256 in php also have para key , iv , mode=cipher , str, options
I am trying security components but i am getting getting result i don’t know codes behind components please help me i am only knowing php language