{"id":21448078,"url":"https://github.com/romdim/yii2-bootstrap-material","last_synced_at":"2025-07-14T20:31:04.139Z","repository":{"id":29768060,"uuid":"33311951","full_name":"romdim/yii2-bootstrap-material","owner":"romdim","description":"Composer package for implementing FezVrasta's bootstrap material design in Yii2","archived":false,"fork":false,"pushed_at":"2018-01-17T10:05:33.000Z","size":12,"stargazers_count":19,"open_issues_count":0,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-10T02:52:37.182Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/romdim.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":"2015-04-02T14:02:03.000Z","updated_at":"2019-01-16T11:58:23.000Z","dependencies_parsed_at":"2022-08-24T10:20:15.160Z","dependency_job_id":null,"html_url":"https://github.com/romdim/yii2-bootstrap-material","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romdim%2Fyii2-bootstrap-material","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romdim%2Fyii2-bootstrap-material/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romdim%2Fyii2-bootstrap-material/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romdim%2Fyii2-bootstrap-material/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romdim","download_url":"https://codeload.github.com/romdim/yii2-bootstrap-material/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225994762,"owners_count":17556830,"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":[],"created_at":"2024-11-23T03:13:58.201Z","updated_at":"2024-11-23T03:13:58.733Z","avatar_url":"https://github.com/romdim.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yii2-bootstrap-material\nComposer package for implementing FezVrasta's bootstrap material design in Yii2\nhttps://github.com/FezVrasta/bootstrap-material-design\n\n## Installation\n\nEither run\n```\ncomposer global require \"romdim/yii2-bootstrap-material:dev-master\"\n```\n\nOr add\n\n```\n\"romdim/yii2-bootstrap-material\": \"dev-master\",\n```\n\nto the require section of your composer.json file.\n\nYou need npm and bower installed in order to use this package. Or you could just use a solution for not having those in your project:\n- https://github.com/yidas/yii2-bower-asset (Yii 2 official Composer repository solution for Bower Assets)\n- https://github.com/fxpio/composer-asset-plugin (NPM/Bower Dependency Manager for Composer)\n\nThere is now another branch called material-0-2-2 which uses the FezVrasta's bootstrap material design Version 0.2.2 which seems better to me right now.\nYou can use this branch by changing dev-master to dev-material-0-2-2 at the above code. \n\n## Usage\n\nAfter installation, just add\n\n```\n    public $depends = [\n        'yii\\web\\YiiAsset',\n\t\t'romdim\\bootstrap\\material\\BootMaterialCssAsset',\n\t\t'romdim\\bootstrap\\material\\BootMaterialJsAsset'\n    ];\n```\n\nin your AppAsset\n\nIf you want to use the minified versions then, you can add:\n\n```\n$config = [\n    ...\n    'components' =\u003e [\n        ...\n        'assetManager' =\u003e [\n            'class' =\u003e 'yii\\web\\AssetManager',\n            'appendTimestamp' =\u003e true,\n            'bundles' =\u003e [\n                ...\n                'romdim\\bootstrap\\material\\BootMaterialCssAsset' =\u003e [\n                    'css' =\u003e [\n                        YII_ENV_DEV ? 'css/ripples.css' : 'css/ripples.min.css',\n                        YII_ENV_DEV ? 'css/material.css' : 'css/material.min.css',\n                    ]\n                ],\n                'romdim\\bootstrap\\material\\BootMaterialJsAsset' =\u003e [\n                    'js' =\u003e [\n                        YII_ENV_DEV ? 'js/ripples.js' : 'js/ripples.min.js',\n                        YII_ENV_DEV ? 'js/material.js' : 'js/material.min.js',\n                    ]\n                ]\n                ...\n            ]\n        ]\n        ...\n    ]\n    ...\n]\n```\n\nYou should add to the body the following code to have all effects working:\n```\n$(function() { $.material.init(); });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromdim%2Fyii2-bootstrap-material","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromdim%2Fyii2-bootstrap-material","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromdim%2Fyii2-bootstrap-material/lists"}