Docs / Laravel Cart / Artisan Generators

Artisan Generators

Install: cart:install

Publishes the config file and scaffolds app/Cart/ with subdirectories for your coupons, tax rules, shipping rates, and custom drivers.

php artisan cart:install

Generate a Coupon: cart:make:coupon

php artisan cart:make:coupon TenPercentOff

Creates app/Cart/Coupons/TenPercentOff.php extending Wearepixel\Cart\Coupons\Coupon.

Generate a Tax Rule: cart:make:tax

php artisan cart:make:tax GstTaxRule

Creates app/Cart/Tax/GstTaxRule.php extending Wearepixel\Cart\Tax\TaxRule.

Generate a Shipping Rate: cart:make:shipping

php artisan cart:make:shipping FlatRateShipping

Creates app/Cart/Shipping/FlatRateShipping.php extending Wearepixel\Cart\Shipping\ShippingRate.

Generate a Custom Driver: cart:make:driver

php artisan cart:make:driver ElasticsearchDriver

Creates app/Cart/Drivers/ElasticsearchDriver.php implementing CartDriver.

Debug: cart:debug

Dumps the current cart state. Not available in production.

php artisan cart:debug
Discovery Call

One call.
We'll both know.

An hour to walk through your project, ask the hard questions, and work out honestly if we're the right team for it.

  • One call per day - it gets our full attention
  • Australia's only Laravel Premier Partner
  • Senior engineers only - no juniors on your project
  • Brisbane-based, onshore team

Press Esc to close  ·  B to reopen