{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/7020","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/7020/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/7020/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/7020/events","html_url":"https://github.com/yiisoft/yii2/issues/7020","id":55441983,"number":7020,"title":"composer.json issue with punycode1.3","user":{"login":"shenril","id":1412219,"avatar_url":"https://avatars.githubusercontent.com/u/1412219?v=3","gravatar_id":"","url":"https://api.github.com/users/shenril","html_url":"https://github.com/shenril","followers_url":"https://api.github.com/users/shenril/followers","following_url":"https://api.github.com/users/shenril/following{/other_user}","gists_url":"https://api.github.com/users/shenril/gists{/gist_id}","starred_url":"https://api.github.com/users/shenril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenril/subscriptions","organizations_url":"https://api.github.com/users/shenril/orgs","repos_url":"https://api.github.com/users/shenril/repos","events_url":"https://api.github.com/users/shenril/events{/privacy}","received_events_url":"https://api.github.com/users/shenril/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-01-26T02:48:55Z","updated_at":"2015-03-01T01:31:51Z","closed_at":"2015-02-28T18:19:59Z","body":"When i run composer update --dev --prefer-source\r\n```bash\r\nYour requirements could not be resolved to an installable set of packages.\r\n\r\n  Problem 1\r\n    - yiisoft/yii2 2.0.1 requires bower-asset/punycode 1.3.* -> no matching package found.\r\n    - yiisoft/yii2 2.0.0 requires bower-asset/punycode 1.3.* -> no matching package found.\r\n    - yiisoft/yii2 2.0.0 requires bower-asset/punycode 1.3.* -> no matching package found.\r\n    - Installation request for yiisoft/yii2 * -> satisfiable by yiisoft/yii2[2.0.0, 2.0.1, 2.0.2].\r\n```\r\nwith composer.json :\r\n```yaml\r\n\"require\": {\r\n        \"php\": \">=5.4.0\",\r\n        \"yiisoft/yii2\": \"*\",\r\n        \"yiisoft/yii2-bootstrap\": \"*\",\r\n        \"yiisoft/yii2-swiftmailer\": \"*\",\r\n        \"yiisoft/jquery\": \"1.10.*\"\r\n},\r\n    \"require-dev\": {\r\n        \"yiisoft/yii2-codeception\": \"*\",\r\n        \"yiisoft/yii2-debug\": \"*\",\r\n        \"yiisoft/yii2-gii\": \"*\",\r\n        \"yiisoft/yii2-faker\": \"*\"\r\n    },\r\n    \"config\": {\r\n        \"process-timeout\": 1800\r\n    },\r\n    \"extra\": {\r\n        \"asset-installer-paths\": {\r\n            \"npm-asset-library\": \"vendor/npm\",\r\n            \"bower-asset-library\": \"vendor/bower\"\r\n        }\r\n    }\r\n}\r\n```\r\nAny idea to solve this ? Fresh installation of Yii2 seems fine which is a mystery to me... "},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/76562832","html_url":"https://github.com/yiisoft/yii2/issues/7020#issuecomment-76562832","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/7020","id":76562832,"user":{"login":"creocoder","id":896494,"avatar_url":"https://avatars.githubusercontent.com/u/896494?v=3","gravatar_id":"","url":"https://api.github.com/users/creocoder","html_url":"https://github.com/creocoder","followers_url":"https://api.github.com/users/creocoder/followers","following_url":"https://api.github.com/users/creocoder/following{/other_user}","gists_url":"https://api.github.com/users/creocoder/gists{/gist_id}","starred_url":"https://api.github.com/users/creocoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creocoder/subscriptions","organizations_url":"https://api.github.com/users/creocoder/orgs","repos_url":"https://api.github.com/users/creocoder/repos","events_url":"https://api.github.com/users/creocoder/events{/privacy}","received_events_url":"https://api.github.com/users/creocoder/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T01:31:51Z","updated_at":"2015-03-01T01:31:51Z","body":"@cebe \r\n\r\n> afaik (correct me if I'm wrong) the other frameworks mentioned do not integrate that much with frontend code like yii does for example with widgets e.g. activeform.\r\n\r\nActiveForm/ActiveField is great example of antiproductive and useless (except primitive cases) widgets. First of all it insist on its own validation solution. Second it does it not agile and have significant limitations. Third it \"too smart\" and naively believes that all form groups should have container and to show some error this container should change css class. Fourth. Sometimes it become mess of php and html (in templates variables). In reality i saw people who stuck with ActiveForm on implementing complex form with day or even more and result was horrible, mess of php and interpolated html code. Moreover that time is enough to 10 times make this form on html + some html helpers and you'll even win time to learn jquery validation plugin or analog to make client side validation.\r\n\r\nAbout other frameworks...\r\n\r\nSymfony 2 have powerful form builer: http://symfony.com/doc/current/book/forms.html\r\nZend Framework have powerful form builder: http://framework.zend.com/manual/current/en/modules/zend.form.intro.html\r\n\r\nLaravel use simple html helpers to generate any kind of form, Its absoluttely agnostic to any css frameworks and does not make any assumptions about it structure. You just make any form you want using pure html + such helpers. As result you'll get cleanest form.\r\n\r\nAll 3 frameworks not reinvent wheel at field of client side validation and suggest user decide best option around that. Novadays there is lot of approaches. Someone use AngularJS and it solution, some use jQuery and plugins for it, someone use ReactJS. Backend framework should not care about client side validation. If you want do best maximum you can do is provide set of validators for most popular frontend solutions to ensure backend validators sync best way with client side validators. Reinventing wheels on that field was very bad idea. In Yii 1.1 it was fine because it was long time ago, in Yii 2 looking on that, looking on validators with *jquery* client side code on board is just strange."}}