https://github.com/tomkyle/webapp-boilerplate
  
  
    My take on an app boilerplate: PHP + Slim 4 + pretty much everything I find useful 
    https://github.com/tomkyle/webapp-boilerplate
  
docker gulp php php8 phpunit slim4 slim4-skeleton webpack
        Last synced: about 2 months ago 
        JSON representation
    
My take on an app boilerplate: PHP + Slim 4 + pretty much everything I find useful
- Host: GitHub
- URL: https://github.com/tomkyle/webapp-boilerplate
- Owner: tomkyle
- License: mit
- Created: 2022-12-14T11:25:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-22T08:30:12.000Z (over 2 years ago)
- Last Synced: 2024-11-07T20:51:24.823Z (12 months ago)
- Topics: docker, gulp, php, php8, phpunit, slim4, slim4-skeleton, webpack
- Language: PHP
- Homepage:
- Size: 982 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
- 
            Metadata Files:
            - Readme: README.md
- License: LICENSE
 
Awesome Lists containing this project
README
          tomkyle/webapp-boilerplate
This is how I would start a new PHP web application on PHP 8.3+, based on [Slim 4](https://www.slimframework.com/) , Docker, Gulp, Webpack, PhpUnit, and pretty much everything I find useful.
[](LICENSE)
---
## Features
- Slim Framework
- Docker setup with SSL support
- PhpUnit with basic unit and integration tests 
- Composer scripts with PHP-CS and phpstan
- Gulp + Webpack for frontend workflow 
- Serviceworker and Webmanifest
- Modern favicons setup
- Content-Security-Policy configuration file
- Customizable .htaccess configuration and build tool
- Custom error pages
- Dark mode support with JS theme switcher
- Postman collection
---
## Installation
```bash
$ gh repo clone tomkyle/webapp-boilerplate
```
## Documentation
- [More on Installation](https://tomkyle.github.io/webapp-boilerplate/installation.html)
- [Prepare and use Docker container](https://tomkyle.github.io/webapp-boilerplate/docker.html)
- [Setup Apache server configuration](https://tomkyle.github.io/webapp-boilerplate/server-config.html)
- [Frontend development](https://tomkyle.github.io/webapp-boilerplate/frontend.html)
- [Unit tests and Code analysis](https://tomkyle.github.io/webapp-boilerplate/testing.html)
---
## Command Line Interface
### **General information**
```bash
$ bin/console list
$ bin/console help
```
### **Update website from repo**
Pull the latest stuff from repo; install dependencies without the development stuff.
```
$ git pull
$ bin/console install --no-dev
$ bin/console install --no-dev -v
```
---
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.