PHP Classes

PHP Shop Simulator in the Console: Simulate shopping purchases in a console

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2022-06-14 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 28 This week: 1All time: 10,592 This week: 325Up
Version License PHP version Categories
console-shop-to-php 1MIT/X Consortium ...7E-Commerce, Console, PHP 7, Business
Description Author

This package can simulate shopping purchases in a console.

It provides several classes that model products, items, and cash amounts.

The package provides a script with functions that allow the users to pick products, quantities, and amounts that can pay for the products they decide.

Innovation Award
PHP Programming Innovation award nominee
June 2022
Number 2
Testing is an important step that all application developers should perform to assure the quality of crucial aspects of their software applications.

There are many types of testing. A kind of testing is called human testing.

In human testing, real people test an application and try to achieve a goal, like, for instance, purchasing on a Web site.

This package provides a way to perform human testing of class components that developers can use to implement a shopping site.

It allows users to perform tests in the command line console shell using an application that can take input from users, pick products, and simulate purchases, so they can verify if the shopping application works as expected.

This way, developers can test the shopping application components without using a Web server.

Manuel Lemos
Picture of adam berger
  Performance   Level  
Name: adam berger <contact>
Classes: 22 packages by
Country: Poland Poland
Innovation award
Innovation award
Nominee: 7x

Winner: 2x

Details

Console Shop To PHP

Simple shopping store simulator in console

vendor and autoload

Console:

$ php composer.phar update

$ php index.php

ConsolaShopPHP

Screenshots  
  • Consola-Shop-PHP
  Files folder image Files  
File Role Description
Files folder imageapp (2 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  app  
File Role Description
Files folder imageappInterface (4 directories)
Files folder imageClassApp (3 files)

  Files folder image Files  /  app  /  appInterface  
File Role Description
Files folder imageCash (1 file)
Files folder imageException (1 file)
Files folder imageItems (1 file)
Files folder imageShop (1 file)

  Files folder image Files  /  app  /  appInterface  /  Cash  
File Role Description
  Plain text file CashInterface.php Class Class source

  Files folder image Files  /  app  /  appInterface  /  Exception  
File Role Description
  Plain text file ProgramsException.php Class Class source

  Files folder image Files  /  app  /  appInterface  /  Items  
File Role Description
  Plain text file ItemsInterface.php Class Class source

  Files folder image Files  /  app  /  appInterface  /  Shop  
File Role Description
  Plain text file ShopInterface.php Class Class source

  Files folder image Files  /  app  /  ClassApp  
File Role Description
  Plain text file Cash.php Class Class source
  Plain text file Items.php Class Class source
  Plain text file Product.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 91%
Total:28
This week:1
All time:10,592
This week:325Up
For more information send a message to info at phpclasses dot org.