Download the PHP package feimx/csd-converter without Composer
On this page you can find all versions of the php package feimx/csd-converter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download feimx/csd-converter
More information about feimx/csd-converter
Files in feimx/csd-converter
Package csd-converter
Short Description This package allow you to convert csd to required pem files
License MIT
Homepage https://github.com/feimx/csd-converter
Informations about the package csd-converter
Convert pem required files for CFDI
The feimx/csd_converter
package provide a simple way for create .pem files for your CSD's.
Installation
You can install the package via composer:
Usage
Firt need create a new instance of CsdConverter
:
Thats all, now you can access the cer info and save the news files to given path
valid_from
and valid_to
are instances of Carbon, so you can modify and format the dates:
getStatus()
returns a expired, valid or invalid status:
You can verify if the files are a valid CSD:
Now you can save the created files to a given path and assigne a optional filename:
And last, but not less important, you can encryp the converted key into des3:
Note: This is very useful with third party provider such as Finkok for stamp the CFDI
Testing
Changelog
Please see CHANGELOG for more information on 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
- Jorge Andrade
- All Contributors
Support us
FEI is a Digital Invoicing startup based in Yucatán, México. You'll find an overview of all our open source projects on our website.
Does your business depend on our contributions? Reach out and support us on Patreon. All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.
License
The MIT License (MIT). Please see License File for more information.