Code Monkey home page Code Monkey logo

laravel-bulksmsbd's Introduction

This package is abandoned and no longer maintained. The author suggests using the nanopkg/laravel-bulk-sms-bd package instead.

laravel-bulksmsbd - The Missing Bangladeshi 'bulksmsbd' SMS Service Provider package

Made with ❤️ by Iqbal Hasan

issues forks stars Latest Stable Version Total Downloads Latest Unstable Version license


Integrate SMS system into your project easily with bulk sms bd's API via this plugin.

Installation Steps

1. Require the Package

After creating your new Laravel application you can include the bulksmsbd package with the following command:

composer require iqbalhasandev/laravel-bulksmsbd

2. If you're using Laravel 5.5, this is all there is to do.

Should you still be on version 5.4 of Laravel, the final steps for you are to add the service provider of the package and alias the package. To do this open your config/app.php file.

Add a new line to the providers array:

iqbalhasandev\bulksmsbd\BulkSMSBDServiceProvider::class

3. Add BULK_SMSBD_USERNAME, BULK_SMSBD_PASSWORD to .env file.

// required
BULK_SMSBD_USERNAME={userName}
BULK_SMSBD_PASSWORD={password}

Overview

Look at one of the following topics to learn more about laravel-bulksmsbd

Usage

The bulksmsbd gives you the following methods to use:

BulkSMSBD::send()

Through the send method you can give your message delivery numbers and the contents of the message.

Below is an example of how to message a number

$number=01712345678;
$message='this is a demo Example form Laravel bulksmsBD Package.';
BulkSMSBD::send($number,$message);

If you want, you can send the same message to many numbers at once.

The following is an example:

$numbers=['01712345678','01712345679','01712345677'];
$message='this is a demo Example form Laravel bulksmsBD Package.';
BulkSMSBD::send($numbers,$message);

Configuration

If you want to change or publish the config file.

php artisan vendor:publish --provider="iqbalhasandev\bulksmsbd\BulkSMSBDServiceProvider"

Credits

  • IQBAL HASAN (the author of laravel-bulksmsbd package)
  • Contributors

Support

Hey dude! Don't forget to mail me if you have any problem with the package.

License

This package inherits the licensing of its parent framework, Laravel, and as such is open-sourced software licensed under the MIT license

Extra

If you want to contribute, you can

Thank you for using this package😘 If you like it, don't forget to give a star⭐⭐⭐⭐⭐

laravel-bulksmsbd's People

Contributors

iqbalhasandev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

laravel-bulksmsbd's Issues

BulkSMSBD

App\Http\Controllers\BulkSMSBD not found
Please provide what is need to write in the begining of controller for use Bulksmsbd::send

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.