Download the PHP package disintegrations/eitaa-serializer-laravel without Composer
On this page you can find all versions of the php package disintegrations/eitaa-serializer-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download disintegrations/eitaa-serializer-laravel
More information about disintegrations/eitaa-serializer-laravel
Files in disintegrations/eitaa-serializer-laravel
Package eitaa-serializer-laravel
Short Description Laravel client for serializing Eitaa TL requests and sending them to the Eitaa gateway.
License MIT
Informations about the package eitaa-serializer-laravel
Eitaa Serializer
Laravel client for serializing Eitaa TL requests, sending them to https://sajad.eitaa.ir/eitaa/,
and deserializing the binary response.
Installation
Requires PHP 8.3 or newer and Laravel 12 or newer.
Laravel package discovery registers the service provider automatically.
Configuration
Publish the config when you need to override defaults:
Available environment variables:
The package uses its bundled TL schema by default. If you need to customize the schema:
Then set:
Usage
Inject or resolve the client:
Or use the facade:
Authenticated calls:
TL Value Rules
- TL objects use
_for the constructor predicate, for example['_'=> 'inputPeerSelf']. - Optional fields require the correct
flagsbits from the schema. longvalues should be strings when they can exceed PHP integer range.bytes,int128,int256, andint512can be raw binary strings or arrays of byte integers.
Testing
Live Eitaa integration tests are available for no-auth methods. They are disabled by default because they call the external gateway:
On PowerShell:
The integration suite currently calls help.getConfig and help.getNearestDc without a token.
All versions of eitaa-serializer-laravel with dependencies
ext-json Version *
ext-zlib Version *
illuminate/http Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0