{"id":15282388,"url":"https://github.com/onmotion/yii2-gallery","last_synced_at":"2025-04-12T22:55:17.057Z","repository":{"id":47611567,"uuid":"55514721","full_name":"onmotion/yii2-gallery","owner":"onmotion","description":"blueimp gallery in your Yii2 application ","archived":false,"fork":false,"pushed_at":"2021-08-22T00:47:26.000Z","size":623,"stargazers_count":13,"open_issues_count":3,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T22:55:11.984Z","etag":null,"topics":["blueimp-gallery","gallery","yii2-extension","yii2-gallery","yii2-modules"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onmotion.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":"2016-04-05T14:27:19.000Z","updated_at":"2024-10-29T23:18:29.000Z","dependencies_parsed_at":"2022-09-23T13:50:28.276Z","dependency_job_id":null,"html_url":"https://github.com/onmotion/yii2-gallery","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmotion%2Fyii2-gallery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmotion%2Fyii2-gallery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmotion%2Fyii2-gallery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmotion%2Fyii2-gallery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onmotion","download_url":"https://codeload.github.com/onmotion/yii2-gallery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248643050,"owners_count":21138353,"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":["blueimp-gallery","gallery","yii2-extension","yii2-gallery","yii2-modules"],"created_at":"2024-09-30T14:25:33.077Z","updated_at":"2025-04-12T22:55:17.036Z","avatar_url":"https://github.com/onmotion.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Yii2 Gallery module\n===================\nblueimp gallery in your Yii2 application with fileupload\n\n[![Latest Stable Version](https://poser.pugx.org/onmotion/yii2-gallery/v/stable)](https://packagist.org/packages/onmotion/yii2-gallery)\n[![Total Downloads](https://poser.pugx.org/onmotion/yii2-gallery/downloads)](https://packagist.org/packages/onmotion/yii2-gallery)\n[![Monthly Downloads](https://poser.pugx.org/onmotion/yii2-gallery/d/monthly)](https://packagist.org/packages/onmotion/yii2-gallery)\n[![License](https://poser.pugx.org/onmotion/yii2-gallery/license)](https://packagist.org/packages/onmotion/yii2-gallery)\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](http://getcomposer.org/download/).\n\nEither run\n\n```\nphp composer.phar require --prefer-dist onmotion/yii2-gallery \"*\"\n```\n\nor add\n\n```\n\"onmotion/yii2-gallery\": \"*\"\n```\n\nto the require section of your `composer.json` file.\n\n\nUsage\n-----\n\n1. You must add to your config:\n```\n'modules' =\u003e [\n\t\t//...\n        'gallery' =\u003e [\n            'class' =\u003e 'onmotion\\gallery\\Module',\n        ],\n        //...\n    ]\n```\n\n1. Apply migration, run:\n```\nphp yii migrate --migrationPath=@vendor/onmotion/yii2-gallery/migrations\n```\n\n1. Go to your application in your browser\n```\nhttp://your-host/gallery\n```\nIf you want change the view, you can add to your config:\n```\n 'components' =\u003e [\n        //...\n        'view' =\u003e [\n            'theme' =\u003e [\n                'pathMap' =\u003e [\n                    '@vendor/onmotion/yii2-gallery/views/default' =\u003e '@app/views/gallery', // example: @app/views/gallery/default/index.php\n                ],\n            ],\n        ],\n        //...\n    ],\n```\nthen you need to copy directory 'default' from @vendor/onmotion/yii2-gallery/views to @app/views/gallery and change it as you want.\n\n\n![](https://raw.githubusercontent.com/onmotion/yii2-gallery/master/samples/sample1.png)\n\n![](https://raw.githubusercontent.com/onmotion/yii2-gallery/master/samples/sample2.png)\n\nMore samples how it works you can see at [blueimp gallery page](https://github.com/blueimp/Gallery/blob/master/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonmotion%2Fyii2-gallery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonmotion%2Fyii2-gallery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonmotion%2Fyii2-gallery/lists"}