Skip to content

alessonmarques/api_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API CLIENT

A simple connection manager made to test knowledge and improve skills.

Commonly used on my studies projects.

To install

composer require alessonmarques/api_client

Requirements

  • PHP >= 8.0
  • Symfony HttpClient >= 7.0

To use

  • Create a class defining the Base Url constant like the 'CamaraDeputados.php' inside the 'examples' folder;
  • Create the endpoint classes extending the one created above;
  • Add a custom method to get the data, or, use the ->do() (already created) on the 'PluginAbstract';
  • You'll need to inject the service whenever you need and use to return the data from APIs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages