百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

complete-php7-ecom-website

> 数据库
开源

一个先进、完整的 PHP 7 电子商务网站,以及 MySQL 数据库和管理界面。

194 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一个先进、完整的 PHP 7 电子商务网站,以及 MySQL 数据库和管理界面。

Advanced PHP 7 eCommerce Website

An advanced and complete PHP 7 eCommerce website along with MySQL database and Admin interface.

Table of Contents
  • Getting Started
    • Prerequisites
    • Installing
      • Installing required packages
      • Create MySQL/MariaDB Database
      • Update Config Variables
      • Run Webserver
  • Funding
  • Contributing
  • Code of Conduct
  • Versioning
  • Change-Log
  • Authors
  • License
  • Acknowledgements

Getting Started

These instructions will get your copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You will need the following running on your local development machine.

  • Apache or Nginx
  • PHP 7.*
  • MySQL or MariaDB

Installing

Follow the instructions below and your website will be up and running in a few minutes.

Installing required packages

Before doing anything you will need to install the required packages using composer. Running composer installs the dotenv project which allows you to configure your website using a .env file.

$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 1 install, 0 updates, 0 removals
  - Installing vlucas/phpdotenv (v2.5.1): Downloading (100%)
Generating autoload files
> /bin/cp config/.env.prod config/.env
> /bin/cp config/.htaccess.prod .htaccess

Create MySQL/MariaDB Database

Using whatever way you do, you need to create a new MySQL database. When creating the database, call it ecommerce so that you can import the SQL queries successfully into your new database.

To populate the database with data, there is a file in the config folder called /config/db_dump.sql. You need to import this SQL file into the database using your preferred method. I recommend using phpMyAdmin to import the database queries but if you use a command line you would need to execute the following command.

$ mysql -u DB_USERNAME -p ecommerce .

```console
$ php -S localhost:8000
[Fri Aug  7 10:43:59 2020] PHP 7.4.8 Development Server (http://localhost:8000) started
[Fri Aug  7 10:44:02 2020] [::1]:51358 Accepted

Funding

If you find this project valuable, please consider giving us a small donation to help keep the project alive. We can really do with the support to help us continue to maintain this project.

Contributing

Please read the CONTRIBUTING.md file for details on how you can get involved in the project as well as the process for submitting bugs and pull requests.

Code of Conduct

Please read the CODE_OF_CONDUCT.md file for the guidelines that govern the community.

Versioning

We use Semantic Versioning for software versions of this project. For a list of all the versions available, see the tags and releases on this repository.

Change-Log

View the CHANGELOG.md file for a detailed list of changes, along with specific tasks completed for each version released to date.

Authors

  • Justin Hartman - @justinhartman

Also see the list of contributors who have participated in this project.

License

This project is licensed under the GNU Affero General Public License License. See the LICENSE file for full details.

Acknowledgements

Special thanks go out to the following people and projects who have helped in some way to make this project a reality.

  • CodingCyber for the original source code that formed the basis of this project.
  • @justinhartman/.github for the Github project templates.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptecommerceecommerce-applicationecommerce-frameworkecommerce-platform

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库