Comments (8)
Hi @Jamesking56, I hope you're still in this issue and want this feature, because I have a good news. 👁️
from php.
Implemented. See FAQ (https://github.com/juicyfx/vercel-php#%EF%B8%8F-faq)
from php.
Hey @Jamesking56. Good idea I was thinking about the same.
Could you please describe me little bit closer what steps do you need to start your own static satis? I am sure we will figure out something.
from php.
Currently I run:
composer install --no-interaction --no-progress --prefer-dist --no-suggest
vendor/bin/satis build satis.json public
Then upload the public
directory (which of course Now should just use)
from php.
And you would like to execute these commands on ZEIT Now, right?
from php.
Yeah
from php.
- Satis demo project https://satis.vercel.app/
- Example satis project sources https://github.com/juicyfx/vercel-examples/tree/master/php-satis
project
├── composer.json
├── composer.lock
├── index.php
├── now.json
└── satis.json
In satis.json
type your deps, you know. Composer file contains satis library to execute build command. Composer file also contains scripts, our script MUST be named vercel and builds the satis index.
Unfortunately lambda output cannot be static, but no stress! I bring a little trick in index.php
to include these static files.
It's based on dev version of vercel-php, be careful! I will release stable version after some tests and etc.
Please test it and give me feedback. I'd suggest you to try it broke 😎.
Be aware Vercel's total file size limit (50mb).
Have fun.
from php.
This feature will be included in v0.3.0 (#81)
from php.
Related Issues (20)
- could not find driver `pgsql` HOT 3
- Unable to load dynamic library 'mongodb' and 'swoole' when deploying HOT 5
- Error: Exited with 4, Something wrong with the build process, Error: Command "vercel build" exited with 1 HOT 3
- Fatal errors not reported in vercel logs HOT 4
- mongodb module missing in 0.7.0 HOT 1
- Change / Appoint php version HOT 4
- Vercel 0.7.0 + Laravel 10 HOT 2
- the example can't run,what happened? HOT 4
- PHP Built-In Server HTTP error: Error: connect ECONNREFUSED 127.0.0.1:8000 HOT 22
- Can we support php trader
- Can we increase the **max_execution_time** and **post_max_size** here? HOT 2
- Mongo DB is not loaded and returns Class "MongoDB\Driver\Manager" not found
- error: The following Serverless Functions contain an invalid "runtime" when deploying
- Wrong Instruction in README
- Error when deploy it to Vercel "No such file or directory" HOT 5
- php: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory HOT 1
- Unable to use Sentry
- Auto-deploy production: Vite manifest not found at: /var/task/user/public/build/manifest.json
- Wordpress generate static website
- error shared libraries: libssl.so
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php.