apolinux / kannel-config
Configure Kannel
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/apolinux/kannel-config
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-10-08 03:08:39 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'
]
]
]