Download the PHP package sms77/krayin without Composer

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

seven SMS Integration for Krayin CRM

Krayin Version PHP Version

Seamlessly integrate SMS functionality into your Krayin CRM with seven's powerful messaging API. Send individual and bulk SMS messages directly from your CRM interface.

📋 Table of Contents

✨ Features

📦 Requirements

Component Version
PHP >= 8.0
Krayin CRM v2.x
Composer >= 2.0
seven API Key Get one here

🚀 Installation

Step 1: Install via Composer (Recommended)

Step 2: Register Service Provider

Add the service provider to your config/app.php:

Step 3: Configure Autoloading

Add the package namespace to your composer.json:

Step 4: Run Migrations

⚙️ Configuration

You can configure the seven SMS integration in two ways:

Option 1: Admin Panel Configuration (Recommended)

  1. Navigate to Dashboard → Configuration → seven in your Krayin admin panel
  2. Enter your seven API Key
  3. Click Save to apply the configuration

Option 2: Environment Variables

  1. Add your API key to the .env file:

  2. Update config/services.php:

  3. Clear and cache configuration:

Note: Admin panel configuration takes precedence over environment variables.

📱 Usage

Send SMS to Individual Contacts

For Persons

  1. Navigate to Contacts → Persons
  2. Find the person you want to message
  3. Click the seven icon in the actions column
  4. Compose and send your message

For Organizations

  1. Navigate to Contacts → Organizations
  2. Find the organization you want to message
  3. Click the seven icon in the actions column
  4. Compose and send your message

Example: Programmatic SMS Sending

📨 Bulk SMS

Send SMS campaigns to multiple contacts at once:

  1. Navigate to Contacts → Persons or Organizations
  2. Select multiple contacts using checkboxes
  3. Click Bulk Actions → Send SMS
  4. Compose your message with placeholders
  5. Review and send

Bulk SMS Best Practices

🔤 Placeholders

Personalize your messages with dynamic placeholders:

Placeholder Description Example Output
{{name}} Contact's full name John Doe
{{first_name}} First name only John
{{last_name}} Last name only Doe
{{organization}} Organization name Acme Corp
{{email}} Email address [email protected]
{{phone}} Phone number +1234567890

Example Message with Placeholders

🔧 Troubleshooting

Common Issues and Solutions

SMS Not Sending

  1. Check API Key: Verify your seven API key is correctly configured
  2. Phone Format: Ensure phone numbers include country code (e.g., +1234567890)
  3. Balance: Check your seven account has sufficient SMS credits
  4. Logs: Review Laravel logs at storage/logs/laravel.log

Migration Errors

Service Provider Not Found

❓ FAQ

Q: Can I use SMS templates? A: Yes, you can create reusable message templates with placeholders in the admin panel.

Q: Are there sending limits? A: Limits depend on your seven account plan. Check your seven dashboard for details.

Q: Can I track SMS delivery? A: Yes, delivery reports are available in the Performance Tracking section.

Q: How do I test SMS functionality? A: Use seven's test mode by adding test=1 parameter in your API configuration.

Q: Can I schedule SMS messages? A: Scheduled messaging is planned for a future release.

🛠️ Development

Running Tests

Contributing

We welcome contributions! Please see our Contributing Guide for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📞 Support

Need help? We're here to assist!

📄 License

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


Made with ❤️ by seven


All versions of krayin with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
ext-json Version *
krayin/laravel-crm Version ^1.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 sms77/krayin contains the following files

Loading the files please wait ...