uppy/examples/php-xhr
Renée Kooi 7b2283d8ef
examples: add npm run example script
a bad result from adding the examples as dependencies of the root
repository is that they now don't have access to the npm binaries they
need to run in their own folder, because they are installed into the
root repository instead.

this works around that issue.

we may need to consider undoing that change and making the examples work
as standalone projects again, that's easier to understand.

fixes #2024 for now.
2020-01-15 11:16:56 +01:00
..
.gitignore create uploads folder, use uppy css from the bundle 2019-04-11 16:30:33 +03:00
index.html create uploads folder, use uppy css from the bundle 2019-04-11 16:30:33 +03:00
main.js Add PHP example, also update node example to log out 2019-04-08 23:47:30 +01:00
package.json examples: use in-tree uppy version in xhr examples 2019-09-20 14:58:27 +02:00
readme.md examples: add npm run example script 2020-01-15 11:16:56 +01:00
requirements.txt Add PHP example, also update node example to log out 2019-04-08 23:47:30 +01:00
upload.php Update upload.php 2019-04-09 13:07:17 +01:00

Uppy + PHP Example

This example uses PHP server and @uppy/xhr-upload to upload files to the local file system.

Run it

To run this example, make sure you've correctly installed the repository root:

npm install

That will also install the dependencies for this example.

Then, again in the repository root, start this example by doing:

npm run example php-xhr