tarfin-labs / netgsm Goto Github PK
View Code? Open in Web Editor NEWnetgsm sms package for laravel 8.x, 9.x and 10.x
License: MIT License
netgsm sms package for laravel 8.x, 9.x and 10.x
License: MIT License
The user_code to be written in the .env file in the readme file will be NETGSM_USERCODE instead of NETGSM_USER_CODE.
Is your feature request related to a problem? Please describe.
nesbot/carbon 3.0 support
Describe the solution you'd like
It would be good to add Nesbot/Carbon 3 support.
Problem
When you install this package with Laravel 11, it forces to downgrade some other packages.
Describe the bug
[2023-12-19 23:53:39] local.INFO: Doğrulama kodu gönderilen telefon numarası: +905523499261
[2023-12-19 23:53:39] local.INFO: Orijinal telefon numarası {"phone":"+905523499261"}
[2023-12-19 23:53:39] local.INFO: İşlenmiş telefon numarası {"phone":"05523499261"}
[2023-12-19 23:53:39] local.INFO: SMS mesajı oluşturuluyor {"phone":"05523499261","message":"Doğrulama Kodunuz: 6922"}
[2023-12-19 23:53:40] local.ERROR: {"exception":"[object] (TarfinLabs\Netgsm\Exceptions\IncorrectPhoneNumberFormatException(code: 0): at D:\xampp\htdocs\AcenteV8\vendor\tarfin-labs\netgsm\src\Sms\AbstractNetgsmMessage.php:262)
[stacktrace]
Steps To Reproduce
telefon numarasını nasıl gönderirsem göndereyim hep bu hata var.
Is your feature request related to a problem? Please describe.
Could you please add support for php8 on composer.json
Describe the solution you'd like
You may add "php": "^7.2.5|^8.0",
to composer.json
Additional context
I am running a laravel7 application with php 8.0.29
Thank you in advance.
Describe the bug
thanks for package i keep try use this methods same documnetation Netgsm::getCredit();
Netgsm::getAvailablePackages(); but i keep get this error Using $this when not in object context => vendor/tarfin-labs/netgsm/src/Netgsm.php line 113 can you please give me good example how to use the package thanks for support
Steps To Reproduce
Merhabalar,
install sonrasında Netgsm::getAvailablePackages() komutu çıktısı Mesaj metnindeki bir problemden dolayı gönderilemedi veya standart maksimum mesaj karakter sayısını geçtiniz. vermektedir. Kurulumdan sonra publish ederken de publish edecek dosya bulunamadı hatası vermektedir.
Is your feature request related to a problem? Please describe.
Php 8.3 support
Describe the solution you'd like
I request php 8.3 support to be added to the package.
Currently the package is working without any problems, but it would be nice to add the php version as |^8.3 in composer.json.
Thank you,
Good work.
Thank you for creating this package. It was needed.
Unfortunately, I couldn't figure out how to use it.
I tried to use Netgsm::sendSms($netgsmMessage)
but got an error which says I can not call the method statically. So I tried :
$sms = new Netgsm();
$jobID = $sms->sendSms($netgsmMessage);
I discovered that I need to send parameters (at least 1: client)
Also I need to define an object for $netgsmMessage
Finally I am confused about how to use this package.
Could you please describe or submit some example pages to show the steps.
Thanks.
InvalidArgumentException: Driver [TarfinLabs\Netgsm\NetGsmChannel] not supported. in /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Support/Manager.php:119
Stack trace:
#0 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Notifications/ChannelManager.php(109): Illuminate\Support\Manager->createDriver()
#1 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Support/Manager.php(90): Illuminate\Notifications\ChannelManager->createDriver()
#2 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(148): Illuminate\Support\Manager->driver()
#3 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(106): Illuminate\Notifications\NotificationSender->sendToNotifiable()
#4 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Support/Traits/Localizable.php(19): Illuminate\Notifications\NotificationSender->Illuminate\Notifications{closure}()
#5 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Notifications/NotificationSender.php(109): Illuminate\Notifications\NotificationSender->withLocale()
#6 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Notifications/ChannelManager.php(54): Illuminate\Notifications\NotificationSender->sendNow()
#7 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Notifications/SendQueuedNotifications.php(94): Illuminate\Notifications\ChannelManager->sendNow()
#8 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Notifications\SendQueuedNotifications->handle()
#9 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()
#10 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#11 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
#12 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\Container\BoundMethod::call()
#13 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\Container\Container->call()
#14 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}()
#15 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#16 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then()
#17 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(83): Illuminate\Bus\Dispatcher->dispatchNow()
#18 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue{closure}()
#19 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}()
#20 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(85): Illuminate\Pipeline\Pipeline->then()
#21 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(59): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware()
#22 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call()
#23 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(356): Illuminate\Queue\Jobs\Job->fire()
#24 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(306): Illuminate\Queue\Worker->process()
#25 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(132): Illuminate\Queue\Worker->runJob()
#26 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(112): Illuminate\Queue\Worker->daemon()
#27 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(96): Illuminate\Queue\Console\WorkCommand->runWorker()
#28 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Queue\Console\WorkCommand->handle()
#29 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Container/Util.php(37): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()
#30 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#31 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
#32 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Container/Container.php(596): Illuminate\Container\BoundMethod::call()
#33 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(134): Illuminate\Container\Container->call()
#34 /home/admin/www/sitem.com/vendor/symfony/console/Command/Command.php(255): Illuminate\Console\Command->execute()
#35 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\Component\Console\Command\Command->run()
#36 /home/admin/www/sitem.com/vendor/symfony/console/Application.php(971): Illuminate\Console\Command->run()
#37 /home/admin/www/sitem.com/vendor/symfony/console/Application.php(290): Symfony\Component\Console\Application->doRunCommand()
#38 /home/admin/www/sitem.com/vendor/symfony/console/Application.php(166): Symfony\Component\Console\Application->doRun()
#39 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Console/Application.php(93): Symfony\Component\Console\Application->run()
#40 /home/admin/www/sitem.com/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\Console\Application->run()
#41 /home/admin/www/sitem.com/artisan(37): Illuminate\Foundation\Console\Kernel->handle()
#42 {main}
Merhaba,
Larvel'in bildirim sistemi dışında manuel olarak sms gönderimi yapmak istiyorum. Dokümantasyondaki kullanımları uyarlamaya çalıştığımda başarılı sonuç alamadım. Controller üzerinde direkt olarak işlemleri yapabilmek adına örnek sunabilirseniz sevinirim.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.