|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 121 ||All time: 9,441 This week: 104|
This package can implement a sales site from configuration files.
It can read configuration files that define several aspects of a sales site to generate sales pages to present products from sale.
Currently, the configuration files provide the list of products to sell, the base URL of the sales site, the site name, and the site contact email, etc..
|Many sites implement an e-commerce section where the site owners can sell a set of products to their customers.
Implementing a complete e-commerce system can be a very complex task that requires to setup a database on which the site lists the available products.
This package provides a more straightforward solution: site owners can implement a sales system using simple configuration files.
* (c) Pierre-Henry Soria <email@example.com>
* MIT License - https://opensource.org/licenses/MIT
require __DIR__ . '/vendor/autoload.php';
use Whoops\Run as WhoopsRun;
$whoops = new WhoopsRun;
$requiredEnvFields = [
$env = Dotenv::createImmutable(__DIR__);
require __DIR__ . '/app/app.php';
Minimalist sales micro-site
A minimalist sales micro-site
The easiest way to build a micro sales site ?
From a command line opened in the project, run `composer install` to install the project dependencies.
Rename `env.sample` to `.env` and update the details in there.
Run the PHP built-in server `php -S 127.0.0.1:8080` for testing purpose.
Update the products details/list of products in `app/products.php`
Update the product page details in `app/pages/product.page.php`
FYI: The document root file is
index.php located in the root directory of this project.
:tada: 3rd party libraries
This project uses the following awesome libs:
* Bootstrap v5
* Just HTTP Status Codes
* PHP dotenv
I'm Pierre-Henry Soria. A passionate, perseverant zen & dedicated software engineer ? Coding the best applications with the best practices is my way of life! ?
You can keep in touch with me at: firstname.lastname@example.org ?
[![pH-7][github-image]](https://github.com/pH-7 "Follow Me on GitHub") [![@phenrysay][twitter-image]](https://twitter.com/phenrysay "Follow Me on Twitter")
[![Watch the video][video-thumbnail]](https://www.youtube.com/watch?v=4OzD_agPFLA)
? Click here to watch on YouTube
Minimalist sales micro-site is distributed under MIT license ? Enjoy! ??
<!-- GitHub's Markdown reference links -->
<!-- Was generated by README Generator CLI on 2021-12-25 https://github.com/pH-7/github-readme-generator-cli -->
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.