Introducing a HAL Client

344 views
Skip to first unread message

Thomas R.

unread,
Jul 21, 2014, 8:02:22 AM7/21/14
to resting-wi...@googlegroups.com
Hello,

For internal usage, we have created an library to consume HAL Resources (Json only). The client is quite simple and does not perform any mapping to object. Still, it is a good start to write application.

https://github.com/ekino/php-hal-client

This is a work in progress, and feedbacks are welcomed here: https://github.com/ekino/php-hal-client/issues/1

Thomas R.

Thomas R.

unread,
Jul 21, 2014, 4:56:12 PM7/21/14
to resting-wi...@googlegroups.com
The library now integrates basic support for JMS Deserializer (ie, you can map a resource object to a plain php object with valid JMS metadata)

Evert Van Cauwenberg

unread,
Aug 20, 2014, 4:23:53 AM8/20/14
to resting-wi...@googlegroups.com
I will check this out for sure!

A quick question, why do you use file_get_contents in your client?


Op maandag 21 juli 2014 14:02:22 UTC+2 schreef Thomas R.:

Thomas R.

unread,
Sep 5, 2014, 5:38:15 AM9/5/14
to resting-wi...@googlegroups.com
It is just a simple client, Guzzle can be implemented too ..

Larry Garfield

unread,
Sep 6, 2014, 3:24:36 PM9/6/14
to resting-wi...@googlegroups.com
Have you tried https://packagist.org/packages/nocarrier/hal ?  I've used it before on a Silex project and found it very easy to work with; certainly easier than the HATEOAS bundle.

--Larry Garfield

Thomas R.

unread,
Sep 12, 2014, 10:29:16 AM9/12/14
to resting-wi...@googlegroups.com
@Larry, the https://github.com/ekino/php-hal-client lib is about consuming HAL resources and not creating them (it is what nocarrier/hal do)

Di majo

unread,
May 8, 2024, 10:32:55 AMMay 8
to RESTing with Symfony
MT103/202 DIRECT WIRE TRANSFER
PAYPAL TRANSFER
CASHAPP TRANSFER
ZELLE TRANSFER
LOAN DEAL
TRANSFER WISE
WESTERN UNION TRANSFER
BITCOIN FLASHING
BANK ACCOUNT LOADING/FLASHING
IBAN TO IBAN TRANSFER
MONEYGRAM TRANSFER
IPIP/DTC
SLBC PROVIDER
CREDIT CARD TOP UP
DUMPS/ PINS
SEPA TRANSFER
WIRE TRANSFER
BITCOIN TOP UP
GLOBALPAY INC US
SKRILL USA
UNIONPAY RECEIVER

Thanks.


NOTE; ONLY SERIOUS / RELIABLE RECEIVERS CAN CONTACT.

DM ME ON WHATSAPP
+44 7529 555638
Reply all
Reply to author
Forward
0 new messages