Skip to content

Commit 6560e2d

Browse files
Update deps and nutrify Laravel example.
1 parent 335ee90 commit 6560e2d

File tree

12 files changed

+30818
-32094
lines changed

12 files changed

+30818
-32094
lines changed

examples/laravel/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ npm-debug.log
1212
yarn-error.log
1313
/.idea
1414
/.vscode
15-
pspdfkit.js
15+
nutrient-viewer.js
16+
public/assets/nutrient

examples/laravel/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Nutrient Web SDK Example – Laravel
22

3-
This example shows how to integrate [Nutrient Web SDK](https://www.nutrient.io/web/) into a [Laravel](https://laravel.com/) app.
3+
This example shows how to integrate [Nutrient Web SDK](https://www.nutrient.io/sdk/web/) into a [Laravel](https://laravel.com/) app.
44

55
## Prerequisites
66

@@ -21,9 +21,9 @@ Are you [evaluating our SDK](https://www.nutrient.io/try/)? That's great, we're
2121
1. Clone the repo:
2222

2323
```bash
24-
git clone https://github.com/PSPDFKit/pspdfkit-web-example-laravel.git
24+
git clone https://github.com/PSPDFKit/nutrient-web-examples.git
2525

26-
cd pspdfkit-web-example-laravel
26+
cd nutrient-web-examples/examples/laravel
2727
```
2828

2929
2. Run `composer install` on your terminal.
@@ -35,15 +35,15 @@ cd pspdfkit-web-example-laravel
3535

3636
4. Generate your application encryption key using `php artisan key:generate`.
3737

38-
5. Install PSPDFKit as a dependency:
38+
5. Install Nutrient Web SDK as a dependency:
3939

4040
```bash
4141
npm install
4242
```
4343

44-
6. Run `npm run dev` to copy the PSPDFKit artifacts to your `public/assets/pspdfkit/` folder.
44+
6. Run `npm run dev` to copy the PSPDFKit artifacts to your `public/assets/nutrient/` folder.
4545

46-
Make sure your `/public/assets/pspdfkit/` folder contains the file `pspdfkit.js` and a `pspdfkit-lib` directory with library assets.
46+
Make sure your `/public/assets/nutrient/` folder contains the file `nutrient-viewer.js` and a `nutrient-viewer-lib` directory with library assets.
4747

4848
## Running the Example
4949

0 commit comments

Comments
 (0)