BulkGate Helpdesk
  • Languages iconEnglish
    • Czech

›Installation

Installation

  • Installation
  • Installation to Nette framework

API Administration

  • API administration & tokens

Message

  • Transactional message
  • Bulk SMS (Campaign)
  • Text of the message
  • Phone Number

Sender type

  • Setting sender type

Sender service

  • Sender Service

Other

  • Country

Delivery confirmations and incoming SMS

  • Delivery confirmations and incoming SMS
  • Bulk delivery confirmation of incoming SMS

Installation to Nette framework

The easiest way to install bulkgate/sms into a project is by using Composer via the command line.

composer require bulkgate/sms

The package includes extensions for Nette framework DI container.

DI Extension

Register the extension to the DI container via NEON

extensions:
    bulkgate: BulkGate\Message\Bridges\MessageDI\MessageExtension

bulkgate:
    application_id: <APPLICATION_ID>
    application_token: <APPLICATION_TOKEN>

which gives you the class BulkGate\Sms\Sender as a service you can request. See how to get API access data.

<?php declare(strict_types=1);

namespace BulkGate\Presenters;

use BulkGate, Nette;

class SdkPresenter extends Nette\Application\UI\Presenter
{
    /** @var BulkGate\Sms\ISender @inject */
    public $sender;

    public function actionDefault()
    {
        $this->sender->send(new BulkGate\Sms\Message('447971700001', 'test message'));
    }
}

Tracy

At the same time, you'll get the extension for Tracy panel

bulkgate-sdk-tracy

To manually add the extension, follow these steps.

/** @var BulkGate\Message\Connection $connection */
Tracy\Debugger::getBar()->addPanel(new BulkGate\Message\Bridges\MessageTracy\MessagePanel($connection));
← PreviousNext →
  • DI Extension
  • Tracy
SolutionsSMS GatewayViber for BusinessBroadcastBulk SMSSMS NotificationsTwo-way SMSSmart SMSMobile ConnectWeb Portal
Partners & DevelopersSMS APIIntegrationsAffiliate programWhite label
SourcesBlogYouTubeFacebookLinkedInTwitterGitHubPackagist
CompanyContactPrivacyTerms and Conditions
Price listsPrice list SMSPrice list ViberPrice list Mobile Connect
SMS GatewayTOPefekt s.r.o. © 2022