suncorelv / sms-unlock by suncorelv

Suncore.lv SMS Unlock Laravel 4 package
33
1
2
Package Data
Maintainer Username: suncorelv
Maintainer Contact: viktors@suncore.lv (Viktors Ņikiforovs)
Package Create Date: 2014-09-11
Package Last Update: 2014-09-12
Language: PHP
License: Unknown
Last Refreshed: 2024-11-18 03:03:44
Package Statistics
Total Downloads: 33
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 1
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Suncore.lv SMS Unlock Laravel 4 package

Dependencies

  • CURL PHP extension
  • Laravel PHP framework 4.1+

Installing

  • Add suncorelv/sms-unlock package to composer.json file as follows:
"require": {
	"laravel/framework": "4.2.*"
	...
	"suncorelv/sms-unlock" : "1.1"
},
  • Do composer dependencies update
composer update
  • Add service provider to app/config.php file
'providers' => array(
	'Illuminate\Foundation\Providers\ArtisanServiceProvider',
	...
	'Suncorelv\SmsUnlock\SmsUnlockServiceProvider',
)
  • Also don't forget to add alias to app/config.php file
'aliases' => array(
	...
	'View'            => 'Illuminate\Support\Facades\View',
	'SCR'			  => 'Suncorelv\SmsUnlock\Facade'
),

Publish package configuration files

php artisan config:publish suncorelv/sms-unlock

Don't forget to configure package

app/config/packages/suncorelv/sms-unlock - there should be two files (client.php and debug.php)

Enjoy