Download the PHP package marshmallow/priceable without Composer
On this page you can find all versions of the php package marshmallow/priceable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marshmallow/priceable
More information about marshmallow/priceable
Files in marshmallow/priceable
Package priceable
Short Description Package for handeling prices
License MIT
Homepage https://github.com/Marshmallow-Development/
Informations about the package priceable
Marshmallow Products
Deze package gaat alle logica houden voor producten. Producten zullen in het algemeen gebruikt worden in combinatie met de Cart of Ecommerce package.
Installatie
Vendor Publish
...
Methods
Routes
Available methods
currentPrice() isDiscounted() discountedFrom()
php artisan db:seed --class=Marshmallow\Product\Database\Seeds\VatRatesSeeder
To do
php artisan marshmallow:resource Price Priceable
php artisan marshmallow:resource VatRate Priceable
php artisan marshmallow:resource Currency Priceable
php artisan marshmallow:resource PriceType Priceable
Tests
Priceable is_can_make_use_of_the_price_facade
Currency //
VAT //
Price it_has_one_currency it_has_one_vat_rate it_makes_use_of_default_vatrate_id it_makes_use_of_default_currency_id it_calculates_including_price_correctly_from_excluding_amount it_calculates_excluding_price_correctly_from_excluding_amount it_calculates_vat_amount_correctly_from_excluding_amount it_calculates_including_price_correctly_from_including_amount it_calculates_excluding_price_correctly_from_including_amount it_calculates_vat_amount_correctly_from_including_amount it_returns_a_carbon_instance_for_valid_from it_returns_a_carbon_instance_for_valid_till
Extra
factory(Marshmallow\Product\Models\Product::class, 10)->create();
Tests during development
php artisan test packages/marshmallow/priceable
...
All versions of priceable with dependencies
marshmallow/sluggable Version ^1.0
marshmallow/helpers Version ^2.0
marshmallow/commands Version ^1.0
moneyphp/money Version ^v4.0.3
laravel/nova Version ^4.0