apolinux / kannel-config
There is no license information available for the latest version (v0.1) of this package.
Configure Kannel
v0.1
2021-06-07 17:10 UTC
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-03-08 01:51:06 UTC
README
Read Kannel configuration and parse it to array struct.
example
a config file like this
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = passwda
# smsc center1 connection
group = smsc
smsc = smpp
smsc-id = "Vodafone"
is transformed into an array like that:
$config = [
'core' => [
'admin-port' => 13000 ,
'smsbox-port' => 13001 ,
'admin-password' => 'passwda'
],
'smsc' => [
0 => [
'smsc' => 'smpp' ,
'smsc-id' => 'Vvodafone'
]
]
]