Skip to content

v1.0.2

Compare
Choose a tag to compare
@mdabagh mdabagh released this 10 May 09:25
· 8 commits to main since this release

Release Notes - Version 1.0.2

We are pleased to announce the release of version 1.0.2 of our SMS Channels package! This release includes a new feature that allows you to easily configure and use different SMS drivers.

New Feature

  • Added a configuration file to define settings and keys for each SMS driver, as well as the ability to select a default driver through the .env file.

To take advantage of this new feature, you will need to update your .env file to include the MSM_DRIVE_ACTIVE variable with the name of the driver you want to use. You will also need to create a new file named sms.php in your config directory, with the following contents:

<?php

return [
    'driver_active' => env('MSM_DRIVE_ACTIVE', 'smsir'),

    'mrapi' => [
        'authentication' =>env('MRAPI_AUTHENTICATION'),
        'token' =>env('MRAPI_TOKEN'),
        'patternid' =>env('MRAPI_PATTERNID'),
    ],

    // Add more drivers as needed
];

In this file, you can define the settings and keys for each driver. The driver_active key specifies the default driver to use, which can be overridden by setting the MSM_DRIVE_ACTIVE variable in your .env file.

Conclusion

We hope that this new feature makes it easier for you to configure and use different SMS drivers in your projects. As always, if you have any questions or feedback, please don't hesitate to reach out to us.

Thank you for using our SMS Channels package!