Download the PHP package pacific-softwares/projectscore without Composer
On this page you can find all versions of the php package pacific-softwares/projectscore. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pacific-softwares/projectscore
More information about pacific-softwares/projectscore
Files in pacific-softwares/projectscore
Package projectscore
Short Description A Laravel package for managing common API configuration and services across multiple Pacific Software projects
License MIT
Informations about the package projectscore
Projects Core Package
A Laravel package for managing common API configuration and services across multiple Pacific Software projects.
Installation
Install the package via Composer:
Configuration
The package has a default API base URL set to https://api.pacificsoftwares.com/projectscore/api/v1.
You can override this default by setting PROJECTSCORE_API_BASE_URL in your .env file (optional):
If PROJECTSCORE_API_BASE_URL is not set in .env, the package will use its default value.
Publishing Config
To publish the config file (optional):
This will publish the config to config/projectscore.php.
Usage
Using the Facade
Using the Service
Response Handling
All HTTP methods return an Illuminate\Http\Client\Response instance, which provides various methods:
Service Provider
The package is automatically registered via Laravel's package discovery.
License
MIT
All versions of projectscore with dependencies
illuminate/support Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/config Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0
illuminate/http Version ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0