{"id":24756230,"url":"https://github.com/ehsannarmani/compose-plus","last_synced_at":"2025-07-02T00:09:32.788Z","repository":{"id":272050835,"uuid":"915340029","full_name":"ehsannarmani/compose-plus","owner":"ehsannarmani","description":"A Jetpack Compose library that simplifies development by offering extension functions, and utility functions, reducing boilerplate and boosting productivity with concise solutions.","archived":false,"fork":false,"pushed_at":"2025-05-23T21:40:48.000Z","size":825,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-23T22:33:29.673Z","etag":null,"topics":["android","android-studio","compose","compose-desktop","compose-multiplatform","compose-plus","jetpack","jetpack-android","jetpack-compose","kotlin"],"latest_commit_sha":null,"homepage":"https://ehsannarmani.github.io/compose-plus","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ehsannarmani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null}},"created_at":"2025-01-11T15:41:32.000Z","updated_at":"2025-05-23T21:40:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"37f0970f-a776-4b13-8715-98c450f8a38d","html_url":"https://github.com/ehsannarmani/compose-plus","commit_stats":null,"previous_names":["ehsannarmani/compose-plus"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ehsannarmani/compose-plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsannarmani%2Fcompose-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsannarmani%2Fcompose-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsannarmani%2Fcompose-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsannarmani%2Fcompose-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehsannarmani","download_url":"https://codeload.github.com/ehsannarmani/compose-plus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehsannarmani%2Fcompose-plus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263052432,"owners_count":23406106,"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-studio","compose","compose-desktop","compose-multiplatform","compose-plus","jetpack","jetpack-android","jetpack-compose","kotlin"],"created_at":"2025-01-28T13:50:19.730Z","updated_at":"2025-07-02T00:09:32.733Z","avatar_url":"https://github.com/ehsannarmani.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# **Compose Plus**\n\n![Kotlin](https://img.shields.io/badge/Kotlin-2.1.0-orange)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n[![Kotlin Multiplatform](https://img.shields.io/badge/Kotlin-Multiplatform-blue)](https://kotlinlang.org/docs/reference/multiplatform.html)\n\n![Platform](https://img.shields.io/badge/Android-3aab58)\n![Platform](https://img.shields.io/badge/Desktop-097cd5)\n![Platform](https://img.shields.io/badge/IOS-d32408)\n![Platform](https://img.shields.io/badge/WasmJS-f7e025)\n\n**Enhance Your Jetpack Compose Experience**\n\n**Compose Plus** is an open-source multi-platform library designed to simplify Jetpack Compose development. It provides reusable components, utility functions, and extensions that streamline common tasks, making app development more efficient and easier.\n\n\n## **Getting Started**\n\n### **Add Library to Your Project**\n[![Maven Central](https://img.shields.io/maven-central/v/ir.ehsannarmani.compose-plus/extensions?logo=kotlin\u0026logoColor=%2325c2a0\u0026label=Latest%20Version\u0026color=%2325c2a0\u0026cacheSeconds=1)](https://img.shields.io/maven-central/v/ir.ehsannarmani.compose-plus/extensions?logo=kotlin\u0026logoColor=%2325c2a0\u0026label=Latest%20Version\u0026color=%2325c2a0\u0026cacheSeconds=1)\n\n```kotlin\nimplementation (\"ir.ehsannarmani.compose-plus:extensions:latest_version\")\nimplementation (\"ir.ehsannarmani.compose-plus:functions:latest_version\")\nimplementation (\"ir.ehsannarmani.compose-plus:components:latest_version\")\n```\n\n## **Project Structure**\n\n**Compose Plus** is organized into three main sections:\n\n### 1. Functions • [Documentation](https://ehsannarmani.github.io/compose-plus/functions/state/)\nA variety of utility functions designed to simplify common operations in Jetpack Compose, such as using states and etc.\n\n\nSome examples:\n```kotlin\n    /* ------------ States ------------ */\n    val enabled by rememberBoolState()\n    val age by rememberIntState(20)\n    val user by rememberState(User(...))\n    val points by rememberListState(20,19,17,10)\n    /* ------------ States ------------ */\n\n    /* ------------ Remembers ------------ */\n    val filter = rememebrFilter(points){\n        it \u003e 20\n    }\n    val map = rememberMap(points){\n        it + 5\n    }\n    /* ------------ Remembers ------------ */\n```\n\n### 2. Extensions • [Documentation](https://ehsannarmani.github.io/compose-plus/functions/state/)\nExtensions that simplify and streamline the use of existing Jetpack Compose features, providing convenient and efficient ways to utilize current functionality, like extension functions for Modifier.\n\nSome examples:\n```kotlin\n    /* ------------ Modifier Extensions ------------ */\n    Modifier.ifThen(isEnabled){\n        circleShape()\n        background(Color.Red)\n    }\n    Modifier.infiniteRotation() , Modifier.infiniteColorChange(listOf(Color.Red,Color.Blue)) , ...\n    Modifier.circleShape()      , Modifier.roundedShape(8.dp) , Modifier.smallRounded() , ...\n    Modifier.centerAligned()    , Modifier.startAligned() , ...\n    /* ------------ Modifier Extensions ------------ */\n\n    /* ------------ Animations ------------ */\n    val animatedProgress by progress.animate()\n    val animatedColor by color.animate() \n    /* ------------ Animations ------------ */\n```\n\n### 3. Components • [Documentation](https://ehsannarmani.github.io/compose-plus/functions/state/)\nA collection of pre-built UI components that make using commonly used Compose components easier and more efficient, while providing simpler integration.\n\nSome examples:\n```kotlin\n    /* ------------ Spacers ------------ */\n    Row {\n        Component1()\n        SmallSpacer()\n        Component2()\n    }\n    /* ------------ Spacers ------------ */\n\n    /* ------------ Direction ------------ */\n    Ltr {\n        Component1()\n    }\n    Rtl {\n        Component2()\n    }\n    /* ------------ Direction ------------ */\n```\n\n\n## **Contributing**\n\nWe encourage contributions to **Compose Plus**! Your help in fixing bugs, adding new features, and improving documentation is invaluable.\n\n### **Note**:\nPlease ensure that any contributions:\n- Align with the goal of simplifying and enhancing existing features of Jetpack Compose.\n\n---\n\n## **License**\n\nThis project is licensed under the MIT License – see the [LICENSE](https://github.com/ehsannarmani/compose-plus/blob/master/LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehsannarmani%2Fcompose-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehsannarmani%2Fcompose-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehsannarmani%2Fcompose-plus/lists"}