miss symfony / http-foundation during themosis Installation - php

I'm just want to install themosis to start new project and i have some problem during installation.
composer create-project themosis/themosis myProject
and the installation fails because obviously missing a package symfony.
Installing themosis/themosis (1.2.3)
- Installing themosis/themosis (1.2.3)
Loading from cache
Created project in myProject
Loading composer repositories with package information
Warning: Accessing wpackagist.org over http which is an insecure protocol.
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- themosis/framework 1.2.3 requires symfony/http-foundation 2.4.2 -> no matching package found.
- themosis/framework 1.2.2 requires symfony/http-foundation 2.4.2 -> no matching package found.
- themosis/framework 1.2.1 requires symfony/http-foundation 2.4.2 -> no matching package found.
- themosis/framework 1.2.0 requires symfony/http-foundation 2.4.2 -> no matching package found.
- Installation request for themosis/framework 1.2.* -> satisfiable by themosis/framework[1.2.0, 1.2.1, 1.2.2, 1.2.3].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see for more details.
Read for further common problems.
I 'm new to this framework and have already done tests and everything worked on my local machine .
Would you have a solution to continue the install of themosis
Thanks for your help.

I was bug on packagist. Now it's fixed. Go try it!

Related

Failed to install symfony/mailer because of friendsofsymfony/user-bundle

I have problem in using mailer in symfony. I want to follow the instruction on symfony website. When I write composer require symfony/mailer in the terminal, I get an error:
Using version ^2.1 for friendsofsymfony/user-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "5.0.*"
Your requirements could not be resolved to an installable set of packages.
Problem 1
- friendsofsymfony/user-bundle v2.1.2 requires symfony/form ^2.8 || ^3.0 || ^4.0 -> no matching package found.
- friendsofsymfony/user-bundle v2.1.1 requires symfony/form ^2.8 || ^3.0 || ^4.0 -> no matching package found.
- friendsofsymfony/user-bundle v2.1.0 requires symfony/form ^2.8 || ^3.0 || ^4.0 -> no matching package found.
- Installation request for friendsofsymfony/user-bundle ^2.1 -> satisfiable by friendsofsymfony/user-bundle[v2.1.0, v2.1.1, v2.1.2].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
when I check the symfony version in terminal:
Symfony CLI version v4.11.3 (c) 2017-2019 Symfony SAS
Symfony CLI helps developers manage projects, from local code to remote infrastructure
can you please help me to solve this problem?
I don't know about the symfony 4.11 version.
The last version maintained by symfony is the 4.4.
I think you should work on 4.4 version for more stability.
When you read docs, look at the version. Here there is no doc for symfony 4.11
So you're bundle will probably not work on your version.
On packagist you can see the bundle can work on 4.4 or 5 version.
https://packagist.org/packages/symfony/mailer

Composer conflict in a laravel project

I have recently create a laravel project and when i hit
composer install
I got error like
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for joshbrw/laravel-module-installer ^0.1.4 -> satisfiable by joshbrw/laravel-module-installer[v0.1.4].
- joshbrw/laravel-module-installer v0.1.4 requires composer-plugin-api ^1.1 -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
Composer versions:
Composer version #package_branch_alias_version# (1.0.0-beta2) 2016-03-27 16:00:34
Any help would be Appreciated.Thanks in advance

Conflict on composer require of behat/mink

When I try to install Mink (using composer require --dev behat/mink) I get the message:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- behat/mink v1.7.1 requires symfony/css-selector ~2.1|~3.0 -> no matching package found.
- behat/mink v1.7.0 requires symfony/css-selector ~2.1 -> no matching package found.
- Installation request for behat/mink ^1.7 -> satisfiable by behat/mink[v1.7.0, v1.7.1].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content
What I found is that there is a conflict with symfony/css-selector.
If I run composer show symfony/css-selector the version shown is v4.2.1, so I think this is the problem.
Also, when I run composer why symfony/css-selector it returns:
symfony/test-pack v1.0.5 requires symfony/css-selector (*)
Is there any way of solving this conflict without removing the symfony/test-pack?
According to https://github.com/minkphp/Mink/pull/749#issuecomment-351402449, Mink has support for Symfony 4, but not released yet. You can using "behat/mink": "~1.7#dev" to install latest dev code for trial.

install laravel 5.5 error

I want install laravel 5.5 on linux ubuntu 16
Run this command .
php version is 7.0
and all Requirements modules are installed
$composer create-project --prefer-dist laravel/laravel blog
And i have error
Installing laravel/laravel (v5.5.28)
- Installing laravel/laravel (v5.5.28)
Loading from cache
Created project in blog
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- symfony/thanks v1.0.1 requires composer-plugin-api ^1.1 -> no matching package found.
- symfony/thanks v1.0.0 requires composer-plugin-api ^1.1 -> no matching package found.
- Installation request for symfony/thanks ^1.0 -> satisfiable by symfony/thanks[v1.0.0, v1.0.1].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Remove your composer cache first.
run composer clearcache and composer self-update
Hope this helps.

Symfony 2.0.9 and wrong PropelBundle version

I'm having troubles with PropelBundle versions using Symfony 2.0.9.
ErrorException: User Deprecated: The PropelBundle uses a new branching model, you should switch to the 1.0 branch (1.0.x versions). For more information, please read: https://github.com/propelorm/PropelBundle/wiki in /home/project_path/vendor/bundles/Propel/PropelBundle/PropelBundle.php line 28
However, in the deps file PropelBundle version is set to 1.0 like it's reccomended here: https://github.com/propelorm/PropelBundle/wiki
[PropelBundle]
git=git://github.com/propelorm/PropelBundle.git
target=/bundles/Propel/PropelBundle
version=origin/1.0
[phing]
git=git://github.com/Xosofox/phing.git
target=/phing
[propel]
git=git://github.com/propelorm/Propel.git
target=/propel
version=origin/1.0
[doctrine-fixtures]
git=http://github.com/doctrine/data-fixtures.git
[DoctrineFixturesBundle]
git=http://github.com/doctrine/DoctrineFixturesBundle.git
target=/bundles/Symfony/Bundle/DoctrineFixturesBundle
version=origin/2.0
I tried to reinstall vendors, but nothing changed.
EDIT: Thanks to Williams I fixed this problem, however now i have this error:
./composer.phar update nothing
Initializing PEAR repository http://pear.phing.info
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested PHP extension ext-mongo * is missing from your system.
Problem 2
- doctrine/mongodb dev-master requires ext-mongo * -> no matching package found.
- doctrine/mongodb-odm-bundle dev-master requires doctrine/mongodb-odm dev-master -> satisfiable by doctrine/mongodb-odm dev-master.
- doctrine/mongodb-odm dev-master requires doctrine/mongodb dev-master -> satisfiable by doctrine/mongodb dev-master.
- Installation request for doctrine/mongodb-odm-bundle dev-master -> satisfiable by doctrine/mongodb-odm-bundle dev-master.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.
These packages are required for AdminGenerator, which I'm trying to install.
it seems you use a old version of your vendors.
First, remove your Phing configuration, and use the official repository: https://github.com/phingofficial/phing
Then, remove your PropelBundle vendor (rm -rf vendor/.../PropelBundle) and reinstall it. This message only appears if you track the master branch.

Categories