{"id":13608471,"url":"https://github.com/aritra-tech/ComposeCards","last_synced_at":"2025-04-12T17:31:52.335Z","repository":{"id":193643957,"uuid":"689222884","full_name":"aritra-tech/ComposeCards","owner":"aritra-tech","description":"💳 ComposeCards is a beautifully designed payment view library for Credit and Debit Card. Made using Jetpack Compose 🎉","archived":false,"fork":false,"pushed_at":"2024-07-22T18:14:22.000Z","size":7160,"stargazers_count":136,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T21:43:01.791Z","etag":null,"topics":["android","android-library","compose","credit-card","hackoctoberfest","jetpack-compose","jetpack-compose-library","kotlin","payment"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aritra-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["aritra-tech"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-09-09T06:17:19.000Z","updated_at":"2025-03-27T16:08:15.000Z","dependencies_parsed_at":"2023-09-09T07:50:22.504Z","dependency_job_id":"b9d5eace-5aef-480d-9b2a-4fd61d318ebe","html_url":"https://github.com/aritra-tech/ComposeCards","commit_stats":null,"previous_names":["aritra-tech/composecards"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aritra-tech%2FComposeCards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aritra-tech%2FComposeCards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aritra-tech%2FComposeCards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aritra-tech%2FComposeCards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aritra-tech","download_url":"https://codeload.github.com/aritra-tech/ComposeCards/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248605131,"owners_count":21132118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-library","compose","credit-card","hackoctoberfest","jetpack-compose","jetpack-compose-library","kotlin","payment"],"created_at":"2024-08-01T19:01:27.556Z","updated_at":"2025-04-12T17:31:47.325Z","avatar_url":"https://github.com/aritra-tech.png","language":"Kotlin","funding_links":["https://github.com/sponsors/aritra-tech"],"categories":["Kotlin"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eComposeCard\u003c/h1\u003e\u003c/br\u003e\n\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n \u003cimg alt=\"material\" src=\"https://custom-icon-badges.demolab.com/badge/material%20you-palegreen?style=for-the-badge\u0026logoColor=black\u0026logo=material-you\"/\u003e\u003c/a\u003e\n  \u003cimg alt=\"API\" src=\"https://img.shields.io/badge/Api%2021+-50f270?logo=android\u0026logoColor=black\u0026style=for-the-badge\"/\u003e\u003c/a\u003e\n  \u003cimg alt=\"Kotlin\" src=\"https://img.shields.io/badge/Kotlin-a503fc?logo=kotlin\u0026logoColor=white\u0026style=for-the-badge\"/\u003e\u003c/a\u003e\n  \u003cimg alt=\"Jetpack Compose\" src=\"https://img.shields.io/static/v1?style=for-the-badge\u0026message=Jetpack+Compose\u0026color=4285F4\u0026logo=Jetpack+Compose\u0026logoColor=FFFFFF\u0026label=\"/\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/aritra-tech/ComposeCards/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/aritra-tech/ComposeCards?color=ffff00\u0026style=for-the-badge\"/\u003e\n  \u003ca href=\"https://hits.sh/github.com/aritra-tech/ComposeCards/\"\u003e\u003cimg alt=\"Hits\" src=\"https://hits.sh/github.com/aritra-tech/ComposeCards.svg?style=for-the-badge\u0026label=Views\u0026extraCount=10\u0026color=54856b\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/aritra-tech/ComposeCards/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/aritra-tech/ComposeCards?color=purple\u0026include_prereleases\u0026logo=github\u0026style=for-the-badge\"/\u003e\n\u003c/p\u003e\n\t  \n\u003cp align=\"center\"\u003e 💳 ComposeCards is a beautifully designed payment view library for Credit and Debit Cards. Made using Jetpack Compose 🎉. It allows you to easily integrate Payment View with much smooth UI and animations. \u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"assets/ComposeCards.gif\" width=\"280\"/\u003e\n\u003c/p\u003e\n\n\n ## What's included?📜\n- 🗂️ Automatic card type recognition that supports the following cards:\n  - Visa\n  - Mastercard\n  - RuPay\n  - American Express\n  - Maestro\n  - Diners Club\n\n- 🤩 Simple VisualTransformation subclasses for the following use cases:\n  - Card number (with custom separators, digit masking)\n\n## Adding the library to your project✨\n\n[![](https://jitpack.io/v/aritra-tech/ComposeCards.svg)](https://jitpack.io/#aritra-tech/ComposeCards)\n\nAdd the following to your **root** `build.gradle` file:\n```gradle\nallprojects {\n\trepositories {\n\t\tmaven { url 'https://jitpack.io' }\n\t}\n}\n```\n\nLastly, add the following dependency to your app's `build.gradle.kts` (Kotlin) or `build.gradle` (Groovy) file:\n\n\u003cdetails\u003e\n\u003csummary\u003eKotlin (KTS)\u003c/summary\u003e\n\u003cbr\u003e\n\n```kotlin\ndependencies {\n    implementation(\"com.github.aritra-tech:ComposeCards:$currentVersion\")\n}\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eGroovy\u003c/summary\u003e\n\u003cbr\u003e\n\n```kotlin\ndependencies {\n    implementation 'com.github.aritra-tech:ComposeCards:$currentVersion'\n}\n```\n\u003c/details\u003e\n\n## Usage📓\nYou can use the `CardDetails` by simply passing this to the screen you want to use. For example:\n\n```kotlin\nCardDetails(\n    creditCardNumber = \"378282246310005\",\n    creditCardHolderName = \"John Doe\",\n    creditCardExpiryDate = \"02/29\",\n    creditCardCVV = \"101\",\n    onSave = {}\n)\n```\n\n### `CardDetails` Parameters\n\n| Parameter                       | Description                                                                                          \n|----------------------------------|-------------------------------------------------------------------------------------------------\n| `creditCardNumber`               | The card number input by the user.                           \t\t\t\t             \n| `creditCardHolderName`           | The card holder's name is input by the user.                                                                   \n| `creditCardExpiryDate`           | The card's expiry date is input by the user.\n| `creditCardCVV`                  | The card's CVV input by the user. \n| `onSave`                         | Callback function to handle save action. \n\n\n## Reporting Issues and Requesting Features✨\nIf you encounter any issues or have feature requests, please create a new [issue](https://github.com/aritra-tech/ComposeCards/issues) in this repository.\n\n## Supporting ComposeCards :heart:\nSupport it by joining __[stargazers](https://github.com/aritra-tech/ComposeCards/stargazers)__ for this repository. :star: \u003cbr\u003e\nAlso __[follow](https://github.com/aritra-tech)__ me for my next creations! 🤩\n\n## Star History ⭐ \n\n[![Star History Chart](https://api.star-history.com/svg?repos=aritra-tech/ComposeCards\u0026type=Date)](https://star-history.com/#aritra-tech/ComposeCards\u0026Date)\n\n## License\n\n```\nCopyright 2023 aritra-tech\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faritra-tech%2FComposeCards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faritra-tech%2FComposeCards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faritra-tech%2FComposeCards/lists"}