Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Laravel Package

linepayamak/laravel

View on GitHub
Deep Wiki
Context7

LinePayamak Laravel Support

A Laravel package for interacting with LinePayamak service.

PHP Requirements

- SOAP Extension (source php.ini)

How to provide in laravel project?

First of all you need to add a new requirement to laravel project with below command.

composer require linepayamak/laravel

After that, Update autoloader comopser file with this command.

composer update && composer dump-autoload

Now, Update service provider list at config/app.php like this.

    /*
    * Package Service Providers...
    */
    LinePayamak\Support\Laravel\ServiceProvider::class,

Add config file to your project with this command.

php artisan vendor:publish --provider="LinePayamak\Support\Laravel\ServiceProvider"

Finally, check out the config/linepayamak.php file.

How to use in laravel project?

In controllers or any where.

$SMS = resolve('LinePayamak');
echo $SMS->GetCredit();

OR use facade.

use LinePayamak\Support\Laravel\Facade as SMS;
echo SMS::GetCredit();
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator