I am trying to pack a module for use with a composer. I have a valid composer file, and I can install it with the composer, but only when I specify that it should use the dev releases (via the @dev version directive or the minimal dev stability). I had a problem packing my repo so that it would be considered as a major release.
I found the composer a document on aliases that seems to be made for my case, but I can't get it to work. Here is the relevant part of my composer.json :
"extra": { "branch-alias": { "dev-master": "1.0" } }
Also for reference heres is required from my main project composer file:
"require": { "misterglass/kohana-twig" : "1.*" },
And the actual error from the composer:
1 - misterglass/kohana-twig 1. * .
IR# compposer, , .
, , github.
Source: https://habr.com/ru/post/1534849/More articles:How to prevent the transition from empty space? - domCSS3 appearance property doesn't work fine in webkit browsers - cssHow to get Wordpress settings values for customization - checkboxCollax tests fail when redirecting with Laravel 4 and PhpBrowser - testingC # Multithreading issue when loading data in SQL Server - multithreadingПонимание регулярного выражения в С++ 11 - c++Youtube made a video not displaying a full-screen button when accessed via iframe in Chrome - html5Невозможно изменить цвет вкладок редактора Eclipse. - eclipseMathematical operation to save a number not less than zero - c ++JSON reduction with jq - unixAll Articles