pretzelhands / base

Blank slate repository for projects on pretzelhands.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ₯¨ pretzelhands/base

This is a blank slate repository that sets up the bare minimum required to start building any kind of PHP application. It is primarily used as the base of projects published on pretzelhands.com. Feel free to clone this as a starting point to code along

πŸ“¦ Requirements

πŸ‘©β€πŸ’» Getting started

To get started, install the dependencies via Composer:

$ composer install

Then rename .env.example to .env, to enable loading of environment values. Afterwards you can get an instantly shareable public link to your project by running the following:

$ composer run dev

Alternatively you can also look at your project at localhost:8080. For more details on how Expose works, refer to the documentation.

⚑️ What's included

  • Pre-configured PSR-4 autoloading
  • dev Composer command to get a public link usable for webhooks etc
  • .env file loading and a helper function to get env values

πŸ› Issue reporting

If you have any troubles setting up this project with any information you can provide and I'll help you get it running

πŸ₯¨ Learn more

If you'd like to see more repositories and tutorials like this, consider following me on Twitter or subscribing to my newsletter.

About

Blank slate repository for projects on pretzelhands.com

License:MIT License


Languages

Language:PHP 100.0%