2021-05-04 00:50:11 +02:00
|
|
|
# Signature PDF
|
|
|
|
|
|
|
|
Interface de signature de PDF.
|
|
|
|
|
2021-05-04 01:00:03 +02:00
|
|
|
C'est pour le moment au stade de preuve de conception.
|
2021-05-04 00:50:11 +02:00
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
Logiciel libre sous license AGPL V3
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
Dépendances :
|
|
|
|
|
|
|
|
- php >= 5.6
|
|
|
|
- rsvg-convert
|
|
|
|
- pdftk
|
|
|
|
|
|
|
|
Sur debian :
|
|
|
|
|
|
|
|
`
|
|
|
|
sudo aptitude install php rsvg-convert pdftk
|
|
|
|
`
|
|
|
|
|
|
|
|
Récupération des sources :
|
|
|
|
|
|
|
|
`
|
|
|
|
git clone https://github.com/24eme/signaturepdf.git
|
|
|
|
`
|
|
|
|
|
|
|
|
Pour le tester :
|
|
|
|
|
|
|
|
`
|
|
|
|
php -S localhost:8000
|
|
|
|
`
|
|
|
|
|
2021-05-04 01:14:57 +02:00
|
|
|
## Librairies utilisées
|
2021-05-04 00:50:11 +02:00
|
|
|
|
2021-05-04 01:14:37 +02:00
|
|
|
- Fat-Free micro framework PHP : https://github.com/bcosca/fatfree (GPL v3)
|
2021-05-04 00:50:11 +02:00
|
|
|
- PDF.js librairie de lecture de PDF dans un canvas HTML : https://github.com/mozilla/pdf.js (Apache-2.0)
|
|
|
|
- Fabric.js librairie pour manipuler un canvas HTML : https://github.com/fabricjs/fabric.js (MIT)
|
2021-05-04 01:11:26 +02:00
|
|
|
- PDFtk outils de manipulation de PDF (GPL)
|
|
|
|
- librsvg outils de manipulation de SVG : https://gitlab.gnome.org/GNOME/librsvg (LGPL-2+)
|
2021-05-04 00:50:11 +02:00
|
|
|
|