Questions tagged [thephpleague]

64 questions
0
votes
1 answer

How omnipay use for stripe payment gate way

https://github.com/thephpleague/omnipay-stripe how it is used for codeigniter project or there is any other code for codeigniter project. Or is that any other code for implementing stripe payment gateway in codeigniter project. I have searched all…
0
votes
1 answer

Cursor based pagination and UUID

I am looking at implementing UUID'd in place of auto-increment id and was wondering if or how I might integrate cursor based pagination with UUID's. With simple auto-increments I can simply add/subtract on the current ID to find my next/previous but…
-1
votes
1 answer

How to produce iso-8859-1 output on some requests in PHP?

I have a PHP application which generates a simple CSV file using league/csv. Some of the columns contains names/addresses which might have non-ANSI values. My client is requiring that the output CSV file be encoded in iso-8859-1 instead of utf-8 as…
GACy20
  • 949
  • 1
  • 6
  • 14
-2
votes
1 answer

Undefined index, while trying to access csv column

My csv file looks like this: "Col1";"Col2";"Col3";Col4;Col5; 2869;"=""510015171""";"=""7393077918""";Test;"Name"; After executing this code: $reader = Reader::createFromPath('/file.csv'); $reader->setDelimiter(';'); …
dosad
  • 151
  • 7
1 2 3 4
5