Git Product home page Git Product logo

pspdfkit-web-example-laravel's Introduction

PSPDFKit for Web Example โ€“ Laravel

This example shows how to integrate PSPDFKit for Web into a Laravel app.

Prerequisites

You can install PHP via XAMPP, MAMP or Homebrew.

Support, Issues and License Questions

PSPDFKit offers support for customers with an active SDK license via https://pspdfkit.com/support/request/

Are you evaluating our SDK? That's great, we're happy to help out! To make sure this is fast, please use a work email and have someone from your company fill out our sales form: https://pspdfkit.com/sales/

Getting Started

  1. Clone the repo:
git clone https://github.com/PSPDFKit/pspdfkit-web-example-laravel.git

cd pspdfkit-web-example-laravel
  1. Run composer install on your terminal.

  2. Copy .env.example file to .env on the root folder.

  • For Windows, type copy .env.example .env
  • For Ubuntu, type cp .env.example .env
  1. Generate your application encryption key using php artisan key:generate.

  2. Install PSPDFKit as a dependency:

npm install
  1. Run npm run dev to copy the PSPDFKit artifacts to your public/assets/pspdfkit/ folder.

Make sure your /public/assets/pspdfkit/ folder contains the file pspdfkit.js and a pspdfkit-lib directory with library assets.

Running the Example

We are ready to launch the app! ๐ŸŽ‰

php artisan serve

You can now open http://localhost:8000/ in your browser and enjoy!

License

This software is licensed under a modified BSD license.

Contributing

Please ensure you have signed our CLA so that we can accept your contributions.

pspdfkit-web-example-laravel's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.