https://github.com/masterfermin02/php-starter-kit
A skeleton repository for PHP apps.
https://github.com/masterfermin02/php-starter-kit
php skeleton starter-kit starter-kits
Last synced: 11 months ago
JSON representation
A skeleton repository for PHP apps.
- Host: GitHub
- URL: https://github.com/masterfermin02/php-starter-kit
- Owner: masterfermin02
- License: mit
- Created: 2020-02-28T19:41:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-29T14:26:22.000Z (over 1 year ago)
- Last Synced: 2025-03-28T11:04:56.457Z (over 1 year ago)
- Topics: php, skeleton, starter-kit, starter-kits
- Language: PHP
- Homepage:
- Size: 128 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.com/masterfermin02/php-starter-kit)
[](LICENSE.txt)
# PHP starter kit
This project will help you to start a new project in PHP
# How to make it work
A few simple steps are needed to get this application up and running:
The next step assumes that composer is available in your PATH
```sh
# install the project and its dependencies
composer create-project masterfermin02/php-starter-kit [project-name]
cd [project-name]
```
# Usage with docker
- Run `docker-compose up --biuld`
- Run `composer install`
- Run `docker-compose up` now you should see in your localhost:8083 the welcome page.
- Run the container in background `docker-compose up -d`
- To see your local containers running process `docker ps`
- Stop containers in background `docker-compose down`
# Usage with PHP native server
- run `sh serve.sh`
# Run test
- `composer run test`
# Helpers
If you notice that your machine has any file permission errors, you might need to execute the following in a project locally
`chmod -R o+rw bootstrap/ storage/`
# Resources
These are a list of resources if you want to create a project like this or getting more knowledge
on how to build your own framework in PHP.
- [PHP the right way](https://phptherightway.com/#code_style_guide)
- [PHP without frameworks](https://github.com/PatrickLouys/no-framework-tutorial)
- [SOLID](https://en.wikipedia.org/wiki/SOLID)
# Feedback
Found a bug or have a suggestion? Please create a [new GitHub issue](https://github.com/masterfermin02/php-starter-kit/issues/new). We want your feedback!