CREATE YOUR OWN BITCOIN WALLET
In my opinion this is a good code to start your own bitcoin wallet. You need knowledge of php and database for installation and product improvements. The installation is very simple (create db, user ...). The necessary documentation goes together.
With BitcoinWallet PHP Script you can easy create own Bitcoin wallet system, fast & secure. Not need to run bitcoind daemon, script use Block.io Wallet API. Features
Bootstrap 3 ready
Friendly and responsive design
Management bitcoin addresses
Archive/unarchive bitcoin addresses
Automatic convert bitcoin balance to USD based on BTC-e price
Double wallet security by secret pin (require user to enter secret pin before send bitcoins)
SQL Injections Security
Admin profit system (you can enter your fixed amount when user withdrawal money or send to other client, will send the comission to your bitcoin address).