Skip to content

php-http/demo-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTPlug demo library

This is a demo to show how HTTPlug and PHP HTTP work in a library.

How to start

Here is how this package is created:

$ ./init.sh

What really happens:

  1. Initialize GIT repository
  2. Initialize Composer with HTTPlug virtual package, psr/http-message-implementation, Discovery as a dependencies and Guzzle 6 Adapter as a dev dependency
  3. Set prefer-stable to true and add some autoloading
  4. Install dependencies with composer
  5. Ignore Puli and Composer files

Note: if you pull this package, you don't need to run init.sh again. It is just an easy representation of how this package is created.

This package also contains some demo code to show how HTTPlug can be used with your library.

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published