Download the PHP package gdinko/prim without Composer
On this page you can find all versions of the php package gdinko/prim. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package prim
Short Description Laravel Prim API Wrapper
License MIT
Homepage https://github.com/gdinko/prim
Informations about the package prim
Laravel Prim API Wrapper
Installation
You can install the package via composer:
If you plan to use database for storing request / error logs:
If you need to export configuration file:
If you need to export migrations:
If you need to export models:
If you need to export commands:
Configuration
Add this to .env file:
Usage
Runtime Setup
Methods
Commands
Models
Events
Interfaces
If you need to make custom PrimRequest you need to implement this interface
Requests
Implements PrimRequestInterface
Request Example
Listen for Prim Hook Event
- In Prim Dashboard subscribe for Hook and set YOUR API HOOK URL: [your domain]/api/prim/hook?api_token=[laravel:sanctum:token]
Examples
Get All Prim API Methods
Get All Accounts
*This example usage is valid for all methods
Get All Accounts with no client site validation request and get all prim response, not only result fields
*This example usage is valid for all methods
Search for Accounts with autogenerated request validation rules
*This example usage is valid for all methods
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Dinko Georgiev
- silabg.com :heart:
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of prim with dependencies
guzzlehttp/guzzle Version ^7.4
illuminate/support Version ^8.0|^9.0|^10.0|^11.0