Skip to content
/ hello-world-leaf Public template

An example of how to set your LeafPHP application up to enable deployment on Kinsta App Hosting services.

Notifications You must be signed in to change notification settings

kinsta/hello-world-leaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaf

Kinsta - Hello World - Leaf PHP 🚀

An example of how to deploy a Leaf PHP app on Kinsta App Hosting services.


Kinsta is a developer-centric cloud host / PaaS. We’re striving to make it easier for you to share your web projects with your users. Focus on coding and building, and we’ll take care of deployment and provide fast, scalable hosting. + 24/7 expert-only support.

Dependency Management

Kinsta automatically installs dependencies defined in your composer.json file, during the deployment process.

Web Server Setup

Port

Kinsta automatically sets the PORT environment variable. You should not define it yourself and you should not hard-code it into the application.

Start Command

When deploying an application, Kinsta automatically creates a web process running heroku-php-apache2.

Deployment Lifecycle

Whenever a deployment is initiated (through creating an application or re-deploying due to an incoming commit) the composer install command is run.

What is Leaf PHP

Leaf is a slim and lightweight PHP framework focused on developer experience, usability, and high-performance code. More information is available on the leafphp.dev website.

About

An example of how to set your LeafPHP application up to enable deployment on Kinsta App Hosting services.

Topics

Resources

Stars

Watchers

Forks