insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'bixo.payment.gateway.view', 'name' => 'View Gateway', ], [ 'slug' => 'bixo.payment.gateway.create', 'name' => 'Create Gateway', ], [ 'slug' => 'bixo.payment.gateway.edit', 'name' => 'Update Gateway', ], [ 'slug' => 'bixo.payment.gateway.delete', 'name' => 'Delete Gateway', ], [ 'slug' => 'bixo.payment.gateway.verify', 'name' => 'Verify Gateway', ], [ 'slug' => 'bixo.payment.gateway.approve', 'name' => 'Approve Gateway', ], [ 'slug' => 'bixo.payment.gateway.publish', 'name' => 'Publish Gateway', ], [ 'slug' => 'bixo.payment.gateway.unpublish', 'name' => 'Unpublish Gateway', ], [ 'slug' => 'bixo.payment.gateway.cancel', 'name' => 'Cancel Gateway', ], [ 'slug' => 'bixo.payment.gateway.archive', 'name' => 'Archive Gateway', ], ]); DB::table('menus')->insert([ // Admin menu [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/payment/gateway', 'name' => 'Gateway', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // User menu. [ 'parent_id' => 2, 'key' => null, 'url' => 'user/payment/gateway', 'name' => 'Gateway', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // Public menu. [ 'parent_id' => 3, 'key' => null, 'url' => 'gateway', 'name' => 'Gateway', 'description' => null, 'icon' => 'las la-scroll, 'target' => null, 'order' => 190, 'status' => 1, ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'pacakge' => 'Payment', 'module' => 'Gateway', 'user_type' => null, 'user_id' => null, 'key' => 'bixo.payment.gateway.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }