masterfermin02/php-starter-kit

This project will help you to start a new project in PHP

v2.0.0 2021-03-20 04:31 UTC

This package is auto-updated.

Last update: 2024-04-06 00:15:16 UTC


README

Build Status Software License

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

# 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.

Feedback

Found a bug or have a suggestion? Please create a new GitHub issue. We want your feedback!