suncorelv/sms-unlock

There is no license information available for the latest version (1.1) of this package.

Suncore.lv SMS Unlock Laravel 4 package

1.1 2014-09-12 10:01 UTC

This package is not auto-updated.

Last update: 2024-11-19 03:00:11 UTC


README

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