A Laravel-based web application to sign, draw, and highlight PDFs directly in the browser.
Upload your PDF, add digital signatures, freehand drawings, and highlights, then download the finalized document.
- PDF Viewer: Instantly preview uploaded PDFs with thumbnails.
- Digital Signatures
- Draw signature (pen tool with multiple colors).
- Type text signature (choose from stylish fonts).
- Manage saved signatures (drag, resize, delete on PDF).
- Drawing Tool (Pencil): Freehand drawing with adjustable color & thickness.
- Highlighter Tool: Highlight text/areas with color picker, adjustable thickness, and opacity.
- Multi-page Support: Works across all PDF pages with sidebar thumbnails.
- Export PDF: Download a high-quality finalized PDF with all applied annotations.
-
Clone the repository:
git clone https://github.com/yourusername/pdf-sign-annotate.git cd pdf-sign-annotate -
Install dependencies:
composer install npm install && npm run build -
Create
.envfile and configure your database & app URL:cp .env.example .env php artisan key:generate
-
Run migrations:
php artisan migrate
-
Start the development server:
php artisan serve
- Open the app in your browser (
http://localhost:8000). - Upload a PDF.
- Use the top toolbar to:
- ✍️ Add signatures.
- ✏️ Draw freehand.
- 🖍️ Highlight text.
- Adjust properties from the right sidebar.
- Click Finalize to download your signed/annotated PDF.
- Backend: Laravel (PHP)
- Frontend: Blade, JavaScript (PDF.js, custom canvas tools)
- Libraries: PDF.js, Imagick (signature processing)
Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.
MIT License – feel free to use and modify for your projects.