Skip to content

Simple example of Symfony Framework, calculate price form.

Notifications You must be signed in to change notification settings

aksion/price-calculation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

price-calculation

Simple example of Symfony Framework, calculate price form.

Create .env file with variables

  • APP_ENV=dev
  • DATABASE_URL=""

To start project in development mode

php -S localhost:8000 -t public

Example

Demo

Input parameters

  • product (select);
  • tax number (input).

Output parameters

  • Product;
  • Price;
  • Tax rate;
  • Total price.

Formula of price calculation

totalPrice = productPrice * (1 + taxRate).

About

Simple example of Symfony Framework, calculate price form.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published