Skip to content

amarvora/myPDFsign

Repository files navigation

PDF Sign & Annotate Tool

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.


✨ Features

  • 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.

🚀 Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/pdf-sign-annotate.git
    cd pdf-sign-annotate
  2. Install dependencies:

    composer install
    npm install && npm run build
  3. Create .env file and configure your database & app URL:

    cp .env.example .env
    php artisan key:generate
  4. Run migrations:

    php artisan migrate
  5. Start the development server:

    php artisan serve

📖 Usage

  1. Open the app in your browser (http://localhost:8000).
  2. Upload a PDF.
  3. Use the top toolbar to:
    • ✍️ Add signatures.
    • ✏️ Draw freehand.
    • 🖍️ Highlight text.
  4. Adjust properties from the right sidebar.
  5. Click Finalize to download your signed/annotated PDF.

📂 Tech Stack

  • Backend: Laravel (PHP)
  • Frontend: Blade, JavaScript (PDF.js, custom canvas tools)
  • Libraries: PDF.js, Imagick (signature processing)

🤝 Contribution

Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.


📜 License

MIT License – feel free to use and modify for your projects.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages