PHP library for creating/manipulating fixed-width text files

前端 未结 7 1252
走了就别回头了
走了就别回头了 2021-02-05 09:27

We have a web application that does time-tracking, payroll, and HR. As a result, we have to write a lot of fixed-width data files for export into other systems (state tax filing

7条回答
  •  误落风尘
    2021-02-05 09:54

    I think you need a bit more information than you supplied: What kind of data structures would you like to use for your records and column definitions? It seems like this is a rather specialized class that would require customization for your specific use case.

    I have a PHP class that I wrote that basically does what you are looking for, but relying on other classes that we use in our system. If you can supply the types of data structures you want to use it with I can check if it will work for you and send it over.

    Note: I published this answer before from a public computer and I could not get it to appear to be from me (it showed as some random user). If you see it, please ignore the answer from 'john'.

提交回复
热议问题