Download the PHP package devwizardhq/laravel-textify without Composer

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

Laravel Textify 📱

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

A powerful and enterprise-ready SMS package for Laravel applications supporting 8+ SMS providers including Bangladeshi and international gateways. Built with modern PHP 8.3+ and Laravel 10+ support, featuring queue integration, automatic fallback system, comprehensive activity tracking, and an intuitive fluent API.

Perfect for Laravel developers who need reliable SMS functionality with multiple provider support and enterprise-grade features.

✨ Features

� Table of Contents

�📡 Supported SMS Providers

🇧🇩 Bangladeshi Providers

Provider Features Status Methods
DhorolaSMS GET API, Status tracking, SSL support ✅ Ready send(), getBalance()
BulkSMSBD GET/POST API, Bulk sending, Plain text response ✅ Ready send(), getBalance()
MimSMS Transactional/Promotional, Campaign support ✅ Ready send(), getBalance()
eSMS Enterprise API, Bearer token auth, Cost tracking ✅ Ready send()
REVE SMS Premium gateway, Balance check, Multi-endpoint ✅ Ready send(), getBalance()
Alpha SMS Dual format support, Balance check, SSL/Non-SSL ✅ Ready send(), getBalance()

🌍 International Providers

Provider Features Status Installation Methods
Twilio Global leader, Advanced features, Webhooks ✅ Ready composer require twilio/sdk send(), Advanced APIs
Nexmo (Vonage) International coverage, Client tracking ✅ Ready composer require vonage/client send(), Analytics

🛠️ Development & Testing Providers

Provider Purpose Features
Log Provider Development testing Logs SMS to Laravel logs
Array Provider Unit testing Stores SMS in memory array

Note: International providers require additional SDK installation for full functionality. Development providers are included for testing purposes.

📦 Installation

Install the package via Composer:

🔧 Laravel Auto-Discovery

Laravel will automatically register the service provider and facade. No additional configuration required!

📄 Publish Configuration

Publish the configuration file:

🗄️ Optional: Database Activity Tracking

If you want to track SMS activities in your database:

📋 Requirements

Configuration

Environment Variables

Add these to your .env file based on the providers you want to use:

🚀 Quick Start

Basic SMS Sending

Fluent API

Laravel Notifications

🔔 Laravel Notifications

Laravel Textify provides seamless integration with Laravel's notification system, allowing you to send SMS notifications just like email or database notifications.

Quick Setup

  1. Add textify to your notification channels:

  2. Implement the toTextify() method:

  3. Configure phone number resolution in your model:

Complete Notification Example

Phone Number Resolution Methods

The notification channel looks for phone numbers in this priority order:

Message Format Options

The toTextify() method accepts multiple formats:

Sending Notifications

Advanced Features

Provider Selection

Conditional Sending

Event Integration

📋 Provider-Specific Usage

🇧🇩 Bangladeshi Providers

DhorolaSMS

BulkSMSBD

MimSMS

eSMS

REVE SMS

Alpha SMS

🌍 International Providers

Twilio

Nexmo (Vonage)

🛠️ Development & Testing

Log Provider (Development)

Array Provider (Testing)

Unified Send Method

The package provides a powerful unified send method that accepts various input formats:

Queue Support

Event Handling

Balance Checking

Many Bangladeshi providers support balance checking:

📚 API Reference

Core Methods

send(string|array $to, string $message = null): TextifyResponse

Send SMS to one or multiple recipients.

via(string $driver): self

Select specific SMS provider.

driver(string $driver): self

Alias for via() method (Laravel Manager pattern compatibility).

to(string|array $recipients): self

Set recipient(s) using fluent API.

message(string $message): self

Set SMS message using fluent API.

from(string $senderId): self

Set custom sender ID (if supported by provider).

Provider-Specific Methods

getBalance(): float

Check account balance (supported providers: revesms, dhorola, bulksmsbd, alphasms, mimsms).

Queue Methods

queue(?string $queueName = null): mixed

Send SMS via queue system.

Response Object

The TextifyResponse object provides access to sending results:

Management Methods

via(string $driver): self / driver(string $driver): self

Select SMS provider (both methods are identical).

fallback(string $driver): self

Set fallback provider for current operation.

getProviders(): array

Get list of all registered providers.

hasProvider(string $name): bool

Check if a provider is registered.

getProvider(string $name): TextifyProviderInterface

Get provider instance directly.

reset(): self

Clear prepared data from fluent interface.

Configuration Methods

Available Providers

🔧 Advanced Usage

Laravel Notifications Integration

📖 For comprehensive notification documentation, see the Laravel Notifications section above.

Laravel Textify provides seamless integration with Laravel's notification system through the textify channel.

Setting Up Notification Channel

The textify notification channel is automatically registered when you install the package. No additional configuration is required.

Creating SMS Notifications

Create a notification class that uses the textify channel:

Configuring Notifiable Models

Add SMS routing to your User model (or any notifiable model). You have multiple options:

Priority Order:

  1. routeNotificationForTextify($notification) - highest priority
  2. textifyNumber() - medium priority
  3. Attribute detection - lowest priority

Advanced textifyNumber() Examples:

bash composer test



## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Contributing

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

## Security Vulnerabilities

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

## Credits

-   [IQBAL HASAN](https://github.com/devwizardhq)
-   [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

All versions of laravel-textify with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^10.0||^11.0||^12.0
illuminate/events Version ^10.0||^11.0||^12.0
illuminate/queue Version ^10.0||^11.0||^12.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 devwizardhq/laravel-textify contains the following files

Loading the files please wait ....