Download the PHP package agro-zamin/integration without Composer
On this page you can find all versions of the php package agro-zamin/integration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download agro-zamin/integration
More information about agro-zamin/integration
Files in agro-zamin/integration
Package integration
Short Description Loyihalar-aro "Agrozamin" tizimlaridan foydalanishga mo'ljallangan kutubxonalar uchun asos
License MIT
Informations about the package integration
AgroZamin Integrations
Loyihalar-aro "Agrozamin" tizimlaridan foydalanishga mo'ljallangan kutubxonalar uchun asos
O'rnatish
Ushbu kengaytmani o'rnatishning afzal usuli - composer orqali.
O'rnatish uchun quyidagi buyruqni ishga tushiring:
Agar Siz composer global o'rnatgan bo'lsangiz, quyidagi buyruqni ishga tushiring:
Yoki quyidagi qatorni composer.json
faylga qo'shing:
Sinf (class)-lar tavsifi
Sinf nomi | Mavhum (abstract) | Tavsifi |
---|---|---|
Integration | Xa | Tizim bilan bog'lanish (integration) uchun yaratish kerak bo'lgan sinf (class) uchun mavhum-asos sinf |
RequestModel | Xa | So'rov modelining yaratish uchun mavhum-asos sinf |
DTO | Xa | So'rov javobini obyekt ko'rinishida shakllantirish uchun mavhum-asos sinf |
RequestData | Xa | So'rov ma'lumotlari, so'rov yuborilishidan avval va keyin va so'rov yuborishda yuz bergan xatolik vaqtida qayta chaqiriladigan (callback) uslub (method)-lar ushbu ma'lumotlar bilan chaqiriladi |
Na'muna
Bir tizim bilan bog'lanish (integration) uchun asosiy sinf (class). Misol tariqasida tizimning nomi Example
So'rov modelini yaratish. Misol tariqasida buyurtmalarni olish uchun GetOrder
so'rov modeli.
Javob modeli OrderDTO
-ni shakllantirish.
OrderDTO
modelining ichida joylashgan ProductDTO
modelini shakllantirish
ProductDTO
modelining ichida joylashgan CoverDTO
modelini shakllantirish
Foydalanish
Yuqoridagi na'munada ko'rsatilgan Example
tizimidan bitta buyurtmani modelini olish.
All versions of integration with dependencies
psr/log Version ^3.0.0
guzzlehttp/guzzle Version ^7.7
ramsey/uuid Version ^4.7
yiisoft/arrays Version ^3.0.0
ext-curl Version *