{"id":14966725,"url":"https://github.com/toir427/yii2-sortablejs","last_synced_at":"2026-02-25T05:14:23.222Z","repository":{"id":57071064,"uuid":"308588000","full_name":"toir427/yii2-sortablejs","owner":"toir427","description":"Yii2 implementation of SortableJS extension. To create and reorder lists with drag-and-drop. For use with modern browsers and touch devices.","archived":false,"fork":false,"pushed_at":"2020-10-30T10:07:48.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T18:18:34.744Z","etag":null,"topics":["sortable","sortable-lists","sortablejs","yii2","yii2-extension","yii2-sortablejs"],"latest_commit_sha":null,"homepage":"https://sortablejs.github.io/sortablejs/","language":"PHP","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/toir427.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}},"created_at":"2020-10-30T09:51:05.000Z","updated_at":"2022-05-06T02:51:14.000Z","dependencies_parsed_at":"2022-08-24T10:50:18.475Z","dependency_job_id":null,"html_url":"https://github.com/toir427/yii2-sortablejs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toir427%2Fyii2-sortablejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toir427%2Fyii2-sortablejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toir427%2Fyii2-sortablejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toir427%2Fyii2-sortablejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toir427","download_url":"https://codeload.github.com/toir427/yii2-sortablejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252699489,"owners_count":21790679,"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":["sortable","sortable-lists","sortablejs","yii2","yii2-extension","yii2-sortablejs"],"created_at":"2024-09-24T13:36:51.495Z","updated_at":"2025-10-25T17:19:02.241Z","avatar_url":"https://github.com/toir427.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"SortableJS for Yii 2.0 \n=========================\n\nThis is an [Yii framework 2.0](http://www.yiiframework.com) implementation of [SortableJS](https://github.com/SortableJS/sortablejs) extension. To create and reorder lists with drag-and-drop. For use with modern browsers and touch devices.\n\n[![Latest Stable Version](https://poser.pugx.org/toir427/yii2-sortablejs/v/stable.png)](https://packagist.org/packages/toir427/yii2-sortable)\n[![Code Climate](https://codeclimate.com/github/toir427/yii2-sortablejs/badges/gpa.svg)](https://codeclimate.com/github/toir427/yii2-sortablejs)\n[![Total Downloads](https://poser.pugx.org/toir427/yii2-sortablejs/downloads.png)](https://packagist.org/packages/toir427/yii2-sortablejs)\n[![License](https://poser.pugx.org/toir427/yii2-sortablejs/license)](https://packagist.org/packages/yiitoir427/yii2-sortablejs)\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](https://getcomposer.org/download/).\n\nEither run\n\n```\nphp composer.phar require toir427/yii2-sortablejs\n```\n\nor add\n\n```\n\"toir427/yii2-sortablejs\": \"^1.0\"\n```\n\nto the require section of your `composer.json` file.\n\nUsage\n-----\n\n```php\nuse toir427\\sortablejs\\Sortable;\n\n\u003c?= Sortable::widget([\n    'items' =\u003e [\n        'Item 1',\n        ['content' =\u003e 'Item2'],\n        [\n            'content' =\u003e 'Item3',\n            'options' =\u003e ['class' =\u003e 'text-danger'],\n        ],\n    ],\n    'clientOptions' =\u003e [\n        'selectedClass'     =\u003e 'selected',\n        'fallbackTolerance' =\u003e 3,\n        'animation'         =\u003e 150,\n    ],\n]); ?\u003e\n```\nExamples\n-------\nMore [Examples](https://sortablejs.github.io/sortablejs).\n\nConfigurations\n-------\nFor this extension configuration see SortableJS [Options](https://github.com/SortableJS/sortablejs#options).\n\nLicense\n-------\n\n**yii2-sortablejs** is released under the Apache 2.0 License. See the [LICENSE.md](LICENSE.md) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoir427%2Fyii2-sortablejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoir427%2Fyii2-sortablejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoir427%2Fyii2-sortablejs/lists"}