{"id":26086866,"url":"https://github.com/pspdfkit/pspdfkit-web-example-laravel","last_synced_at":"2025-04-12T03:23:11.295Z","repository":{"id":65623882,"uuid":"487965931","full_name":"PSPDFKit/pspdfkit-web-example-laravel","owner":"PSPDFKit","description":"Example project demonstrating how to integrate PSPDFKit with the Laravel Framework","archived":false,"fork":false,"pushed_at":"2025-03-10T10:37:02.000Z","size":397,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-25T22:51:30.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PSPDFKit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-02T19:27:54.000Z","updated_at":"2025-03-10T10:37:05.000Z","dependencies_parsed_at":"2023-02-17T03:46:07.221Z","dependency_job_id":"7ed4ef0d-ef53-436b-8873-2320f615d5aa","html_url":"https://github.com/PSPDFKit/pspdfkit-web-example-laravel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSPDFKit%2Fpspdfkit-web-example-laravel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSPDFKit%2Fpspdfkit-web-example-laravel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSPDFKit%2Fpspdfkit-web-example-laravel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSPDFKit%2Fpspdfkit-web-example-laravel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PSPDFKit","download_url":"https://codeload.github.com/PSPDFKit/pspdfkit-web-example-laravel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248510782,"owners_count":21116272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-09T07:18:37.974Z","updated_at":"2025-04-12T03:23:11.286Z","avatar_url":"https://github.com/PSPDFKit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e ⚠️ **Repository Moved**  \n\u003e This repository has been moved to https://github.com/PSPDFKit/nutrient-web-examples/tree/main/examples/laravel.  \n\u003e Please update your bookmarks and issues accordingly.\n\u003e\n\u003e This repo is now archived and will no longer receive updates.\n\n# Nutrient Web SDK Example – Laravel\n\nThis example shows how to integrate [Nutrient Web SDK](https://www.nutrient.io/sdk/web/) into a [Laravel](https://laravel.com/) app.\n\n## Prerequisites\n\n-   PHP\n-   [Composer](https://getcomposer.org/download/)\n-   [Laravel Installer](https://laravel.com/docs/8.x#the-laravel-installer)\n\nYou can install PHP via [XAMPP](https://www.mamp.info/en/mac/), [MAMP](https://www.apachefriends.org/index.html) or [Homebrew](https://formulae.brew.sh/formula/php).\n\n## Support, Issues and License Questions\n\nPSPDFKit offers support for customers with an active SDK license via https://www.nutrient.io/support/request/\n\nAre you [evaluating our SDK](https://www.nutrient.io/try/)? 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://www.nutrient.io/sales/\n\n## Getting Started\n\n1. Clone the repo:\n\n```bash\ngit clone https://github.com/PSPDFKit/pspdfkit-web-example-laravel.git\n\ncd pspdfkit-web-example-laravel\n```\n\n2. Run `composer install` on your terminal.\n\n3. Copy `.env.example` file to `.env` on the root folder.\n\n-   For Windows, type `copy .env.example .env`\n-   For Ubuntu, type `cp .env.example .env`\n\n4. Generate your application encryption key using `php artisan key:generate`.\n\n5. Install PSPDFKit as a dependency:\n\n```bash\nnpm install\n```\n\n6. Run `npm run dev` to copy the PSPDFKit artifacts to your `public/assets/pspdfkit/` folder.\n\nMake sure your `/public/assets/pspdfkit/` folder contains the file `nutrient-viewer.js` and a `nutrient-viewer-lib` directory with library assets.\n\n## Running the Example\n\nWe are ready to launch the app! 🎉\n\n```bash\nphp artisan serve\n```\n\nYou can now open http://localhost:8000/ in your browser and enjoy!\n\n## License\n\nThis software is licensed under a [modified BSD license](LICENSE).\n\n## Contributing\n\nPlease ensure\n[you have signed our CLA](https://www.nutrient.io/guides/web/current/miscellaneous/contributing/) so that we can accept your contributions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpspdfkit%2Fpspdfkit-web-example-laravel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpspdfkit%2Fpspdfkit-web-example-laravel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpspdfkit%2Fpspdfkit-web-example-laravel/lists"}