Download the PHP package al-saloul/taqnyat without Composer

On this page you can find all versions of the php package al-saloul/taqnyat. 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 taqnyat

Laravel Taqnyat SMS Package

License: MIT

Overview

The Laravel Taqnyat SMS package provides a simple integration with the Taqnyat SMS API to send SMS messages directly from your Laravel application. It includes methods for sending SMS messages, querying your account balance, retrieving available senders, and checking the system status of Taqnyat.

Features

Requirements

Installation

Install the package via Composer:

After installing the package, publish the configuration file:

This command will create the config/taqnyat-sms.php configuration file where you can set your API authentication and sender information.

Configuration

After publishing the config file, update your .env file with your Taqnyat API credentials:

Config Options

Usage

You can use the package by either calling the TaqnyatSms facade or injecting the TaqnyatSms service into your classes.

Example: Sending an SMS via Facade

Example: Injecting TaqnyatSms in Controller

Available Methods

1. Send SMS

2. Get Account Balance

Retrieve your account balance from Taqnyat:

3. Get Available Senders

Get the list of available SMS sender names:

4. Check System Status

Check the status of the Taqnyat system:

Handling Errors

All methods use Guzzle for HTTP requests and are wrapped in try-catch blocks to handle exceptions gracefully. In case of an error, you will receive a descriptive error message which can help in debugging.

Example: Handling Errors

Changelog

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

Contributing

Contributions are welcome! If you would like to contribute, please submit a pull request or open an issue for any bugs or feature requests.

Steps to Contribute

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature-branch.
  3. Make your changes.
  4. Submit a pull request.

License

This package is open-sourced software licensed under the MIT License.


All versions of taqnyat with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^7.0|^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 al-saloul/taqnyat contains the following files

Loading the files please wait ....