It was hard to find a topic having the amazing articles were posted already. So I thought to try to help people (Engineers) who moved to a management/leadership position.
So here it is:
Guzzle is a PHP HTTP client that makes it easy to send HTTP requests and trivial to integrate with web services.In pseudocode:
1: // Create a Client 2: $client = new \GuzzleHttp\Client\Client([ 3: 'base_url' => 'http://someserver.com', 4: 'defaults' => [ 5: 'headers' => [ 6: 'Accept' => 'application/json' 7: ] 8: ] 9: ]); 10: 11: // Create a new cookie 12: $cookieJar = new \GuzzleHttp\Cookie\CookieJar(); 13: 14: // Send a post 15: $request = $client->createRequest('POST', '/api/login', [ 16: 'cookies' => $cookieJar, 17: 'body' => [ 18: 'UserName' => 'USERNAME', 19: 'Password' => 'PASSWORD', 20: 21: ] 22: ]); 23: 24: // .... 25: 26: // Reuse the cookie for next requests 27: $response = $client->get('/api/user', [ 28: 'cookies' => $cookieJar 29: ]);
ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PNG, Postscript, SVG, and TIFF. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.