billogram / billogram-v2-api-php-lib Goto Github PK
View Code? Open in Web Editor NEWPHP library for the Billogram REST API
License: MIT License
PHP library for the Billogram REST API
License: MIT License
$method is never used in this function.
/**
* Creates and sells a billogram.
*
* @param $data
* @param $method
* @return \Billogram\Api\Objects\BillogramObject
*/
public function createAndSell($data, $method)
{
$data['_event'] = 'sell';
$billogram = $this->create($data);
return $billogram;
}
Please consider using semver versioning (http://semver.org/)
Line number 68
$response = $this->api->delete($this->url());
The function 'delete' is returning null and not $response. $response could be removed?
How to fetch list of invoices by date range? For example, invoice_date> = 2019-01-01 and invoice_date <= 2019-02-01.
Autoloading Billogram with composer doesn't work. Add this to composer.json to make it work:
"autoload": {
"psr-0": {"Billogram": ""}
}
Working fork here: https://github.com/murtlest/billogram-v2-api-php-lib
Possible to include the lib without the use of composer?
Hey @AndreasHogstrom
May I suggest that you should not be defensive in your responses. Example #9, #12, #13, #14. There are a lot of great developers that would like to help you making your project better, they should be encouraged instead of shot down with an answer without content.
Im fine with you not accepting my changes but I would like to see a reason based on good software design instead of "I do not feel like it".
Just a minor thing. A cool company like Billogram should not be using deprecated PSRs. We should consider moving to PSR4.
Hi,
using http wrapper in streams considered as potential security risk. On our server we use allow_url_fopen=0 to block possibility to use url instead filenames. The recomended method to make remote requests in PHP is to use curl directly.
Anyway there would be no problem to override Api::httpRequest if it would have protected access modifier.
Does the library allow creating invoices without a customer no? I have an issue where every API order creates duplicate customer profiles. The example file is pretty insufficient perhaps an example would save integrators a lot of time.
Is there any plans for an extension/adapter to Payum? Would you willing to accept a new package like that?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.