Download the PHP package viontex/communications without Composer

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

Codeigniter4 BulkSMS API Implementation for Hostpinnacle (Kenya)

This is a simple implementation of bulk sms for Codeigniter4 for Hostpinnacle in Kenya. This library includes functionality to send single or batch messages.

Composer Installation

You can install the package via composer:

Initial Setup

To start using the Bulk SMS library in your CodeIgniter 4 project, there are a few setup steps you need to complete so the package integrates smoothly with your app:

  1. Run the following command. This command handles steps 1(a), 1(b) and 1(c) of the steps below.

    Config Setup: Copy the Bulksms.php from vendor/odiraeddie/src/Config/ into your project's config folder and update the namespace to Config. You will also need to have these classes extend the original classes. These files contain all the settings that you will need to be modified to meet the needs of your site.

    Helper Setup: The setting helpers need to be included in almost every page. The simplest way to do this is to add it to the app/Config/Autoload.php.

    Migration: Run the migrations.

  2. Update Validation Rules Add your custom rules to:

    php $bulksms->send('2547xxxxxxxx', 'Hello, I am just testing this applications', '2026-04-25 09:46:00'); ```, with date and time as the argument:

Template SMS with Dynamic Placeholders (Optional)

SMS templates are now stored in the database. • Templates can include dynamic placeholders like {name} or {name:User}. • Placeholders are automatically validated and replaced with runtime values. • Defaults can be defined inside placeholders (e.g., uses “User” if no name is provided in {name:User}). • This makes bulk messaging more flexible and professional, allowing you to reuse and personalize messages without hardcoding text.

Extracting Placeholders

To know the placeholders in a particular sms template, do the follwing:

Here the string argument 'fees_increase' is the template code. This is found in the database table. It give the list in array form including any default value given or null if no default is specified.

Other methods: Add SMS Template with Placeholders

Update SMS Template with Placeholders

Find ALL SMS Template

Find 1 SMS Template by ID

Find 1 SMS Template by any other column

Contact

Please open an issue on GitHub if you have any problems or suggestions or you can contact me on +254707362220 or [email protected].

License

I have released the contents of this repository under the MIT license.


All versions of communications with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.1
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 viontex/communications contains the following files

Loading the files please wait ...