Skip to content
/ phpay Public template

An open PHP store platform. Focused in small businesses πŸ’° πŸ›’

License

Notifications You must be signed in to change notification settings

stanleygomes/phpay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CodeFactor Deploy App

PHPAY

An open PHP store platform. Focused in small businesses πŸ’° πŸ›’

The main goal of phpay is to set patterns to be easily implemented on a web store. We want to make easy to quick start a PHP ambient with the basic resources every store need. Check out the patterns we defined this document bellow.


Table of contents

  1. How to get Started
  2. Gitflow recommendations
  3. Patterns and libs
  4. Features

Startup

Step by step to get this up and running

Clone repo and go to project folder

git clone https://github.com/stanleygomes/phpay.git && cd phpay

Start via docker compose

First, copy enviroment variables for your application

cp .env.template .env

Then, start containers (this command will start database and run migrations)

docker-compose up

Verify if the containers are up and running

docker container ls

Now, access the webserver container

docker container exec -it phpay-webserver /bin/bash

At this point, your are connected to webserver container. Install composer dependencies

composer install

After this step is finished, you can exit the container:

exit

Since you are back to your terminal, you may need to change some folder permissions

sudo chmod -R 0775 bootstrap storage vendor

Finally, go to: http://localhost:8000 to see your app online

Great vscode extension

We recomend use of VS Code and PHP Intelephense extension.

Services

Git flow

To file a new a feature

  • create a branch from master branch. Use the pattern: feature/description
  • file a pull request on master branch
  • since your PR is aproved, it will be merged to master branch
  • in a moment in time we'll create a release, using the pattern: release/vX.X.X

Patterns

These are some of patterns definitions to help us to keep a default arquitecture.

Features

Some of the features covered

  • Products & Categories
  • Featured
  • Product Wishlist
  • Multiple addresses per account
  • Store config
  • Payment methods available config
  • Product questions and answers
  • Order online using a customer account and selecting and address
  • Pay online using a gateway (Mercado pago or Pagseguro)
  • Order review
  • Custom pages like about, refund, policies and delivering
  • Product stock history
  • Dashboard page for resume
  • Admin and colaborator profile with different access levels

About

An open PHP store platform. Focused in small businesses πŸ’° πŸ›’

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks