talhahavadar/iletimerkezi-sms

İletimerkezi.com sms hizmetini kullanmak için hazırlanmış bir kütüphane.

v0.1 2016-12-11 21:13 UTC

This package is not auto-updated.

Last update: 2024-12-22 02:11:46 UTC


README

Install

composer require talhahavadar/iletimerkezi-sms

For Laravel

First you need to install via composer after that you need to add IletimerkeziSmsServiceProvider to app/Providers/AppServiceProvider.php file of your project.

/**
 * Register any application services.
 *
 * @return void
 */
public function register()
{
    $this->app->register('IletimerkeziSms\IletimerkeziSmsServiceProvider');
}

then you can run the command below:

php artisan vendor:publish --tag=config

Then you need to enter your credentials to config/iletimerkezi.php file.

You can find example usage of library in tests/test.php file.

Important

If it is not working correctly please run the command below.

php artisan config:cache

Sometimes config() function returns null. To prevent this case, we need to run the command above.