Simple PHP skeleton because not every project needs Laravel. The structure is shared hosting friendly, includes Medoo for database, PHPMailer for emails, Plates for template etc.
It also includes essential security configuration against common PHP application vulnerabilities.
To set up project, install Docker on your workstation and run below commands in project folder.
# copy the sample constants
$ cp constants.dist.php constants.php
# start the services
$ docker compose up -d
# install dependencies
$ docker compose exec web composer install
# run database migrations
$ curl -X POST http://127.0.0.1:8000/migrate
Before committing change, make sure to format your code properly using below command:
$ docker run --rm -v $PWD:/workspace syncloudsoftech/pinter
The project should be accessible at http://127.0.0.1:8000/ address.