Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/voku/cart

Shopping cart composer package
https://github.com/voku/cart

Adding missing ` to markdown

6e2e924f2d534a13f5f898105016f4e3847cd8e2 authored over 11 years ago by Chris Harvey <[email protected]>
Adding readme for the remaining methods

fd57037dee34dba4804fec0ea0621c79e28ce2f3 authored over 11 years ago by Chris Harvey <[email protected]>
Update README.md

2527efe775657e3c12f54c65caab4303dd1de390 authored over 11 years ago by Chris Harvey <[email protected]>
Updating readme

7d6ec380c96dc78ca903b44a88b9ead0168ca154 authored over 11 years ago by Chris Harvey <[email protected]>
Adding documentation about inserting items into the cart

c369f62ab43f9dee8c90d3eb23a742f8f3b8c979 authored over 11 years ago by Chris Harvey <[email protected]>
Adding some documentation

bd0834672de02d8f3a88dd26b1a9ae1fd9bb1afc authored over 11 years ago by Chris Harvey <[email protected]>
Added test for update via magic method

f05912f9e5d54025121c91f25891ee141b8ae146 authored over 11 years ago by Chris Harvey <[email protected]>
Adding __set magic method

ec0389fe746701d5c560a0b56c3837ae721c643e authored over 11 years ago by Chris Harvey <[email protected]>
Protecting $identifier property, but allowing access via __get

ba636527690a4f43eadd1daa185384c0245676cd authored over 11 years ago by Chris Harvey <[email protected]>
Adding newline between description and options

79803efeb4f0e51be67b23090804d18fbbe5d46b authored over 11 years ago by Chris Harvey <[email protected]>
Making identifier public

8d049f993f5170dbe68d52a1d937583d6f2debf4 authored over 11 years ago by Chris Harvey <[email protected]>
Added protected $tax property

d1b5b4e8465d348cd670a2d80158cae41adb9c22 authored over 11 years ago by Chris Harvey <[email protected]>
Using $this->data for item data to prevent conflicts

ef5517c5bfc53b3b05e525fbcbb18943652a5df8 authored over 11 years ago by Chris Harvey <[email protected]>
Updating "totalItems" method to count quantity of items

6ab45335744c162a0987d4bb50b1f0a82c398881 authored over 11 years ago by Chris Harvey <[email protected]>
Adding total items test

feca9c98c20ae9a4ffe4c6d3c58f13274d4be820 authored over 11 years ago by Chris Harvey <[email protected]>
Adding "totalItems" method

5f4f4f17b06e514b597bb3139d0d400201c71c80 authored over 11 years ago by Chris Harvey <[email protected]>
'store' is a disallowed cart key

45767c3ad0069ffaac40cd5a8c9d7a81dccaa148 authored over 11 years ago by Chris Harvey <[email protected]>
Removing setTax method from cart

8cc1641bce86fcfebde99fdc7e6a8e29c45a2089 authored over 11 years ago by Chris Harvey <[email protected]>
Adding missing semicolon;

768f26aaefe779ad6730dcc2b6bf2a15346cad18 authored over 11 years ago by Chris Harvey <[email protected]>
use(ing) Runtime store and identifier in tests

a17cdd1091497ab4dcc8a6badac1bddfaff7fd28 authored over 11 years ago by Chris Harvey <[email protected]>
Storage "data" method should be returned by reference

8f3da2002754b129e65dfb028c0a1b6ecbd7e9f2 authored over 11 years ago by Chris Harvey <[email protected]>
Updating removal tests to use contents returned by reference

36028f632e945ada169011d3757255e5eacde913 authored over 11 years ago by Chris Harvey <[email protected]>
Contents method is now returned by reference

a3941bc922872041596e2205b64f958525590b95 authored over 11 years ago by Chris Harvey <[email protected]>
Fixing item removal tests

e4ec9bb9c43418ead316f1e26a09ad6705d1faf1 authored over 11 years ago by Chris Harvey <[email protected]>
Adding additional tests for tax and item removal

c40cbc3deefad5d5245e3e76c56156c42ee731ff authored over 11 years ago by Chris Harvey <[email protected]>
After tax price should be assigned to the $price variable

b6879f9f3ff0ed1cadebcab4fac7d622481056cd authored over 11 years ago by Chris Harvey <[email protected]>
Using correct tax addition method

4bd27deb2103e52a031e825c8afe19b9d71720af authored over 11 years ago by Chris Harvey <[email protected]>
Adding tax integration

0d2bfd73b1587385c643240023ff8acb8b3f2303 authored over 11 years ago by Chris Harvey <[email protected]>
Adding "moltin/tax" requirement

2bdd94276abf396fd0b6073b8be38b8c94761112 authored over 11 years ago by Chris Harvey <[email protected]>
Correcting variable

b0dd5bd76fe0a0d63520b76e3889b65c9705d5cc authored over 11 years ago by Chris Harvey <[email protected]>
Cleaning up tests by using setUp and tearDown methods

1f8bcf97151cabad8399eb4e9685a31c76586a48 authored over 11 years ago by Chris Harvey <[email protected]>
Adding test which checks that multiple inserts increments the quantity

e2405c98b7e7b5004d8e5ab08046405b9f1f8f73 authored over 11 years ago by Chris Harvey <[email protected]>
Destroy the cart before running each test

dcfe7308253229272af1911cf18efb4fcee26db6 authored over 11 years ago by Chris Harvey <[email protected]>
Cart destroy should empty the array, not unset it

39fad88bec332d8ea2f4603d929ffd91893730d4 authored over 11 years ago by Chris Harvey <[email protected]>
Use cart static variable in update method

62c095c0a59b6a0d3c69237cc02212ab40fc0ad7 authored over 11 years ago by Chris Harvey <[email protected]>
Increment quantity on insert if item already exists

30d3cf91342dba00be8bda1482273f2bf97109fa authored over 11 years ago by Chris Harvey <[email protected]>
Use static cart variable on update

0f1886b01b4bc0a240f46cae3104a891dbc788dc authored over 11 years ago by Chris Harvey <[email protected]>
Check identifier as well as id on update

ea525cdfdb812e17228f504af7379195aa53c1f8 authored over 11 years ago by Chris Harvey <[email protected]>
See previous

155a6487fb9eb7f373ef6d94caec497e0ff570c3 authored over 11 years ago by Chris Harvey <[email protected]>
Check id and identifier when running "has" method

d3afc000edfbaa87b1d04e1270058b6eccab50e9 authored over 11 years ago by Chris Harvey <[email protected]>
Only set empty identifier array if it does not exist already

ed5094a5eb02af2d7d57ce932646a201f764d7c6 authored over 11 years ago by Chris Harvey <[email protected]>
Adding identifier array when setting identifier

92a7812451cc80dad8d03a0ee238d1ae22db85da authored over 11 years ago by Chris Harvey <[email protected]>
Adding item method to StorageInterface

615005e9dca90db1b219517e07e47ecc4d608844 authored over 11 years ago by Chris Harvey <[email protected]>
Adding update test

6f42fa48eee6630c95071ba415f1d0e3a4befa6d authored over 11 years ago by Chris Harvey <[email protected]>
Adding "item" method

46677666201aab2ded2895c3e8b4787c090304b7 authored over 11 years ago by Chris Harvey <[email protected]>
Adding update method

e4c103c323feb08f99b25e4ac26e26a529ba849e authored over 11 years ago by Chris Harvey <[email protected]>
Removing the requirement for Mockery

404fa33a349e94dd100d4d42726180564bbce516 authored over 11 years ago by Chris Harvey <[email protected]>
Removing mocks

6a7b30f6fb613aa53ee05f52ca370d49bbfd834a authored over 11 years ago by Chris Harvey <[email protected]>
Using Runtime identifier instead of mock in tests

124bd75d7670be6ead0892429e47d474b74257b7 authored over 11 years ago by Chris Harvey <[email protected]>
Adding Runtime identifier

c3911a288acb8040a063849d6c0a3a8ebd79f137 authored over 11 years ago by Chris Harvey <[email protected]>
Using Runtime store for test

1e5630004cfbc77812792c3bc8de1af6c2b32555 authored over 11 years ago by Chris Harvey <[email protected]>
Renaming ArrayStore to Runtime

60fe01c8662a97b6bfcb001cbb1f00739b94babf authored over 11 years ago by Chris Harvey <[email protected]>
Reverting SessionStore back to Session

c2113a5283d986a1ce10f839d7366c0bbe8e0e4a authored over 11 years ago by Chris Harvey <[email protected]>
Reverting CookieIdentifier to Cookie

31e495a9184e25b72af11ddab0548f206b996b5b authored over 11 years ago by Chris Harvey <[email protected]>
Renaming Cookie identifier to CookieIdentifier

cfb4a7882cc21a5427e51fac3c615058e1e2667f authored over 11 years ago by Chris Harvey <[email protected]>
Renaming Session store to SessionStore

aa0268a643d5c657efe74856f0d7b6b959445694 authored over 11 years ago by Chris Harvey <[email protected]>
Using random price and quantity for totals test

36a15d386a948ac57bbebeadda1d4bb3ec3c35f0 authored over 11 years ago by Chris Harvey <[email protected]>
Using Array store as test storage

eaaf09159241cdbb96e517befc5cc488dcbfd4a0 authored over 11 years ago by Chris Harvey <[email protected]>
Adding totals test

7dbac1b49ba841d0d18eded6b2d3d840646f88c8 authored over 11 years ago by Chris Harvey <[email protected]>
Adding Array storage class

c8079ab409a411a5deafa51e29945f2115f295e7 authored over 11 years ago by Chris Harvey <[email protected]>
Adding doc blocks to interfaces

8c3d1f1dbc403e080dc5d9e32671742b3315d017 authored over 11 years ago by Chris Harvey <[email protected]>
Adding has method to check if an item exists in the cart

8622ce188df221339914caf84f8b1da014425f6e authored over 11 years ago by Chris Harvey <[email protected]>
Shortening syntax

fef5ebaa651e903e8f8c8183ad80eb15f2c807a0 authored over 11 years ago by Chris Harvey <[email protected]>
Adding "tax" method to return the total tax for the cart

c529d14fa7a86402a1e1bcbe962bbed5cd018192 authored over 11 years ago by Chris Harvey <[email protected]>
Adding $includeTax argument to total method in cart

c8b0338aa4b85ffbf1fca8d0a08ad109eb7e56fc authored over 11 years ago by Chris Harvey <[email protected]>
$includeTax is now set to "true" by default

4d16e82a464441c917ae4a60a390f3e115b4cc27 authored over 11 years ago by Chris Harvey <[email protected]>
Adding option to include tax in item total

0ffcf3c2ef3d3829314bf5ae54e2b0d20a42c970 authored over 11 years ago by Chris Harvey <[email protected]>
Adding total method to cart

90e3c14349cda001a5ccd515d8ddb1925154152f authored over 11 years ago by Chris Harvey <[email protected]>
Adding total method to Item

4bda82d29d795b0005ba10155daeb3118cab019b authored over 11 years ago by Chris Harvey <[email protected]>
Updating update method

d9d9767863330bdec7af4649cc602c9276679e7c authored over 11 years ago by Chris Harvey <[email protected]>
Making cart static in session store

0000d59e0bc1a6b5d705a42e3795ca2a4aea532a authored over 11 years ago by Chris Harvey <[email protected]>
Adding methods to Item

c2505efc150906c6c2ade1e6ba4950ab0f370bba authored over 11 years ago by Chris Harvey <[email protected]>
Reworking Session store

d83b9c429eb940cfcd6a33dfcbea91a0fed2d407 authored over 11 years ago by Chris Harvey <[email protected]>
Adding contents method

fb57ccff962fea4f73350a5a7325f84b6585f4ca authored over 11 years ago by Chris Harvey <[email protected]>
Adding doc blocks to Item class

f7217417b2f940f46c395dccfbd11b297ff9056b authored over 11 years ago by Chris Harvey <[email protected]>
Adding remove method to item class

d9cd119b703137feccc6e656df3aeaa9007f007d authored over 11 years ago by Chris Harvey <[email protected]>
Adding remove login to Session store

c18a6e2bff7af5a2ad7dd31158535d31e5ab4aed authored over 11 years ago by Chris Harvey <[email protected]>
Adding remove method to cart

decc18b17dd2317c27839894f514a4dd3eba8052 authored over 11 years ago by Chris Harvey <[email protected]>
Reworking cart insert

96db82dacd54de4937a599531772c205ec8e504a authored over 11 years ago by Chris Harvey <[email protected]>
Adding cart insert test

dc8ad2dea46157e3b21b22e14b04968732d13b22 authored over 11 years ago by Chris Harvey <[email protected]>
Return the unique item identifier on insert

8f4774653de0447320aa2cbf3aa4119c09e75559 authored over 11 years ago by Chris Harvey <[email protected]>
Only serialize the product options

fc5be9bd7a75db42c584b7becd58f7d6bbcbd47e authored over 11 years ago by Chris Harvey <[email protected]>
Adding "price" property

641d2ba02e57fe681b0cea04048d90713db24db3 authored over 11 years ago by Chris Harvey <[email protected]>
Added __get magic method to return the value of protected vars

aa04540e15fa8e5479f7c1da5b2937c7f39dada6 authored over 11 years ago by Chris Harvey <[email protected]>
Create the item identifier first

a6f4b9bf5a54cbba0271450e6f3d08d1018e9e33 authored over 11 years ago by Chris Harvey <[email protected]>
Create item identifier before passing it to storage

51c8dca3e870bdae4a85d23a3193bc7c205770ba authored over 11 years ago by Chris Harvey <[email protected]>
Only unset the current cart from the session

3da3877357a239dcd3e4cee8650af1337b90a127 authored over 11 years ago by Chris Harvey <[email protected]>
Only generate unique id based on the id and options passed

7bb51063c1089d1f78d4e51a504a2fc2d3865cfc authored over 11 years ago by Chris Harvey <[email protected]>
Destroy the cart from the Storage

ac7bb98f164b7422f5764a14e824fef7e74dfa88 authored over 11 years ago by Chris Harvey <[email protected]>
Adding "price" as a default var

1d9809a67eacc1589fac134f3981d849679d3ea5 authored over 11 years ago by Chris Harvey <[email protected]>
Adding Item class

73a1952fec95e0a2669f4cda0848f49e572a1974 authored over 11 years ago by Chris Harvey <[email protected]>
Updating insert method

0cf2f13deb704b130051d51e4b41bb60dd06a05d authored over 11 years ago by Chris Harvey <[email protected]>
Adding cart variable to Session storage class

e7339718907f9e12b62505fe282a991802ccc6e1 authored over 11 years ago by Chris Harvey <[email protected]>
Adding createItemIdentifier method to create a unique item id

dcff414033e9544d12dab90e3c2c4793794bc417 authored over 11 years ago by Chris Harvey <[email protected]>
No arguments are needed for getIdentifier

7ebf71adfd9f1c179db797c3df14d152b296cbf4 authored over 11 years ago by Chris Harvey <[email protected]>
Adding destruct method plus the setter and getter for id

14c480418591c55b9b7e3c273f1a3ea2704a5e52 authored over 11 years ago by Chris Harvey <[email protected]>
Removing "getIdentifier" and "setIdentifier" from Storage

e4866dc3ac46f98d614d8a06afb6c6530c2fb262 authored over 11 years ago by Chris Harvey <[email protected]>
Adding "contents" method

dd671318a5e718befb469e7261b359736c6831e9 authored over 11 years ago by Chris Harvey <[email protected]>
Adding "checkArgs" method for insert and update

8b792e70eeecc9800294d6e18d23f9502b5cb562 authored over 11 years ago by Chris Harvey <[email protected]>
Adding sample methods to Cart class

698fb76202011a36b7befe1967bb5a42438b6022 authored over 11 years ago by Chris Harvey <[email protected]>