/laravel_CMS

Primary LanguagePHPMIT LicenseMIT

Laravel E-sign

Laravel Example of E-Signature with Signature Pad and Digital Certified Sign with TCPDF

Package

Installation

Clone projet

git clone git@github.com:Akecel/laravel-esign.git

Install back-end dependencies

composer install

Install front-end dependencies

npm install

Configuration

Set env file :

cp .env.example .env

Generate project key

php artisan key:generate

To certify your signatures with TCPDF, you will have to create your own SSL certificate with OpenSSL. Otherwise you can find the TCPDF demo certificate here : TCPDF Demo Certificat

To create your own certificate use this command :

cd storage/app
openssl req -x509 -nodes -days 365000 -newkey rsa:1024 -keyout your-cert-name.crt -out your-cert-name.crt

More information in the TCPDF documentation

Usage

Compiling assets :

// Build for local developement
npm run dev

// Build for production
npm run prod

Local server :

// Run the server
php artisan serve

Authors

👤 Akecel

License

MIT license.