Download the PHP package tzsk/sms without Composer

On this page you can find all versions of the php package tzsk/sms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sms

:gift: Laravel SMS Gateway

GitHub License Latest Version on Packagist GitHub Tests Action Status Total Downloads

This is a Laravel Package for SMS Gateway Integration. Now Sending SMS is easy.

List of supported gateways:

:package: Install

Via Composer

:zap: Configure

Publish the config file

In the config file you can set the default driver to use for all your SMS. But you can also change the driver at runtime.

Choose what gateway you would like to use for your application. Then make that as default driver so that you don't have to specify that everywhere. But, you can also use multiple gateways in a project.

Then fill the credentials for that gateway in the drivers array.

Textlocal Configuration:

Textlocal is added by default. You just have to change the creadentials in the textlocal driver section.

AWS SNS Configuration:

In case you want to use AWS SNS. Then you have to pull a composer library first.

Clockwork Configuration:

In case you want to use Clockwork. Then you have to pull a composer library first.

Twilio Configuration:

In case you want to use Twilio. Then you have to pull a composer library first.

Then you just have to change the creadentials in the twilio driver section.

Melipayamak or Melipayamakpattern Configuration:

In case you want to use Melipayamak or Melipayamakpattern, Then you have to pull a composer library first.

Kavenegar Configuration:

In case you want to use Kavenegar. Then you have to pull a composer library first.

SMS Gateway Me Configuration:

In case you want to use SMS Gateway Me. Then you have to pull a composer library first.

:fire: Usage

In your code just use it like this.

:heart_eyes: Channel Usage

First you have to create your notification using php artisan make:notification command. then SmsChannel::class can be used as channel like the below:

Tip: You can use the same Builder Instance in the send method.

Custom Made Driver, How To:

First you have to name your driver in the drivers array ,and also specify any config params you want.

Now you have to create a Driver Map Class that will be used to send the SMS. In your driver, You just have to extend Tzsk\Sms\Contracts\Driver.

Ex. You created a class : App\Packages\SMSDriver\MyDriver.

Once you crate that class you have to specify it in the sms.php Config file map section.

Note:- You have to make sure that the key of the map array is identical to the key of the drivers array.

:microscope: Testing

:date: Changelog

Please see CHANGELOG for more information on what has changed recently.

:heart: Contributing

Please see CONTRIBUTING for details.

:lock: Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

:crown: Credits

:policeman: License

The MIT License (MIT). Please see License File for more information.


All versions of sms with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
guzzlehttp/guzzle Version ^7.0
illuminate/http Version ^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tzsk/sms contains the following files

Loading the files please wait ....