Skip to content

Commit fc2f871

Browse files
committed
Initial commit
0 parents  commit fc2f871

7 files changed

+62
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.vercel

.vercelignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor

api/index.php

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
require __DIR__ . '/../vendor/autoload.php';
4+
5+
echo "Vercel Blob PHP";

composer.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "dam-bal/vercel-blob-php",
3+
"description": "Vercel Blob for PHP",
4+
"type": "library",
5+
"autoload": {
6+
"psr-4": {
7+
"VercelBlobPhp\\": "src/"
8+
}
9+
},
10+
"authors": [
11+
{
12+
"name": "Damian Balandowski"
13+
}
14+
],
15+
"require": {
16+
"php": "^8.2"
17+
}
18+
}

composer.lock

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Blob.php

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
3+
namespace VercelBlobPhp;
4+
5+
class Blob
6+
{
7+
}

vercel.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"functions": {
3+
"api/*.php": {
4+
"runtime": "[email protected]"
5+
}
6+
},
7+
"routes": [
8+
{ "src": "/(.*)", "dest": "/api/index.php" }
9+
]
10+
}

0 commit comments

Comments
 (0)