Skip to content
/ phast Public template

Simple PHP skeleton because not every project needs Laravel.

License

Notifications You must be signed in to change notification settings

syncloudsoftech/phast

Repository files navigation

phast

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.

Development

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

Code-style

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.

About

Simple PHP skeleton because not every project needs Laravel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published