I'm new to laravel and want to use this package but the instruction is not clear to me. I tried to download the package then run "composer require inani/larapoll " in the directory but it doesn't work.
I'm getting an error "Root package 'inani/larapoll' cannot require itself in its composer.json".
What do I need to do to make this work? please help I've tried it 3 times but it's not working.
Also tried to install laravel first then run "composer require inani/larapoll " but I'm still receiving the error:
- Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install illuminate/support v5.8.36
- Conclusion: don't install illuminate/support v5.8.35
- Conclusion: don't install illuminate/support v5.8.34
- Conclusion: don't install illuminate/support v5.8.33
- Conclusion: don't install illuminate/support v5.8.32
- Conclusion: don't install illuminate/support v5.8.31
- Conclusion: don't install illuminate/support v5.8.30
- Conclusion: don't install illuminate/support v5.8.29
- Conclusion: don't install illuminate/support v5.8.28
- Conclusion: don't install illuminate/support v5.8.27
- Conclusion: don't install illuminate/support v5.8.24
- Conclusion: don't install illuminate/support v5.8.22
- Conclusion: don't install illuminate/support v5.8.20
- Conclusion: don't install illuminate/support v5.8.19
- Conclusion: don't install illuminate/support v5.8.18
- Conclusion: don't install illuminate/support v5.8.17
- Conclusion: don't install illuminate/support v5.8.15
- Conclusion: don't install illuminate/support v5.8.14
- Conclusion: don't install illuminate/support v5.8.12
- Conclusion: don't install illuminate/support v5.8.11
- Conclusion: don't install illuminate/support v5.8.9
- Conclusion: don't install illuminate/support v5.8.8
- Conclusion: don't install illuminate/support v5.8.4
- Conclusion: don't install illuminate/support v5.8.3
- Conclusion: don't install illuminate/support v5.8.2
- Conclusion: don't install illuminate/support v5.8.0
- Conclusion: don't install illuminate/support v5.7.28
- Conclusion: don't install illuminate/support v5.7.27
- Conclusion: don't install illuminate/support v5.7.26
- Conclusion: don't install illuminate/support v5.7.23
- Conclusion: don't install illuminate/support v5.7.22
- Conclusion: don't install illuminate/support v5.7.21
- Conclusion: don't install illuminate/support v5.7.20
- Conclusion: don't install illuminate/support 5.7.19
- Conclusion: don't install illuminate/support 5.7.18
- Conclusion: don't install illuminate/support 5.7.17
- Conclusion: don't install illuminate/support v5.7.15
- Conclusion: don't install illuminate/support v5.7.11
- Conclusion: don't install illuminate/support v5.7.10
- Conclusion: don't install illuminate/support v5.7.9
- Conclusion: don't install illuminate/support v5.7.8
- Conclusion: don't install illuminate/support v5.7.7
- Conclusion: don't install illuminate/support v5.7.6
- Conclusion: don't install illuminate/support v5.7.5
- Conclusion: don't install illuminate/support v5.7.4
- Conclusion: don't install illuminate/support v5.7.3
- Conclusion: don't install illuminate/support v5.7.2
- Conclusion: don't install illuminate/support v5.7.1
- Conclusion: don't install illuminate/support v5.7.0
- Conclusion: don't install illuminate/support v5.6.39
- Conclusion: don't install illuminate/support v5.6.38
- Conclusion: don't install illuminate/support v5.6.37
- Conclusion: don't install illuminate/support v5.6.36
- Conclusion: don't install illuminate/support v5.6.35
- Conclusion: don't install illuminate/support v5.6.34
- Conclusion: don't install illuminate/support v5.6.33
- Conclusion: don't install illuminate/support v5.6.32
- Conclusion: don't install illuminate/support v5.6.31
- Conclusion: don't install illuminate/support v5.6.30
- Conclusion: don't install illuminate/support v5.6.29
- Conclusion: don't install illuminate/support v5.6.28
- Conclusion: don't install illuminate/support v5.6.27
- Conclusion: don't install illuminate/support v5.6.26
- Conclusion: don't install illuminate/support v5.6.25
- Conclusion: don't install illuminate/support v5.6.24
- Conclusion: don't install illuminate/support v5.6.23
- Conclusion: don't install illuminate/support v5.6.22
- Conclusion: don't install illuminate/support v5.6.21
- Conclusion: don't install illuminate/support v5.6.20
- Conclusion: don't install illuminate/support v5.6.19
- Conclusion: don't install illuminate/support v5.6.17
- Conclusion: don't install illuminate/support v5.6.16
- Conclusion: don't install illuminate/support v5.6.15
- Conclusion: don't install illuminate/support v5.6.14
- Conclusion: don't install illuminate/support v5.6.13
- Conclusion: don't install illuminate/support v5.6.12
- Conclusion: don't install illuminate/support v5.6.11
- Conclusion: don't install illuminate/support v5.6.10
- Conclusion: don't install illuminate/support v5.6.9
- Conclusion: don't install illuminate/support v5.6.8
- Conclusion: don't install illuminate/support v5.6.7
- Conclusion: don't install illuminate/support v5.6.6
- Conclusion: don't install illuminate/support v5.6.5
- Conclusion: don't install illuminate/support v5.6.4
- Conclusion: don't install illuminate/support v5.6.3
- Conclusion: don't install illuminate/support v5.6.2
- Conclusion: don't install illuminate/support v5.6.1
- Conclusion: don't install illuminate/support v5.6.0
- Conclusion: don't install illuminate/support v5.5.44
- Conclusion: don't install illuminate/support v5.5.43
- Conclusion: don't install illuminate/support v5.5.41
- Conclusion: don't install illuminate/support v5.5.40
- Conclusion: don't install illuminate/support v5.5.39
- Conclusion: don't install illuminate/support v5.5.37
- Conclusion: don't install illuminate/support v5.5.36
- Conclusion: don't install illuminate/support v5.5.35
- Conclusion: don't install illuminate/support v5.5.34
- Conclusion: don't install illuminate/support v5.5.33
- Conclusion: don't install illuminate/support v5.5.28
- Conclusion: don't install illuminate/support v5.5.17
- Conclusion: don't install illuminate/support v5.5.16
- Conclusion: don't install illuminate/support v5.5.2
- Conclusion: don't install illuminate/support v5.5.0
- Conclusion: don't install illuminate/support v5.4.36
- Conclusion: don't install illuminate/support v5.4.27
- Conclusion: don't install illuminate/support v5.4.19
- Conclusion: don't install illuminate/support v5.4.17
- Conclusion: don't install illuminate/support v5.4.13
- Conclusion: don't install illuminate/support v5.4.9
- Conclusion: don't install illuminate/support v5.4.0
- Conclusion: don't install illuminate/support v5.3.23
- Conclusion: don't install illuminate/support v5.3.16
- Conclusion: don't install illuminate/support v5.3.4
- Conclusion: don't install illuminate/support v5.3.0
- Conclusion: don't install illuminate/support v5.2.45
- Conclusion: don't install illuminate/support v5.2.43
- Conclusion: don't install illuminate/support v5.2.37
- Conclusion: don't install illuminate/support v5.2.32
- Conclusion: don't install illuminate/support v5.2.31
- Conclusion: don't install illuminate/support v5.2.28
- Conclusion: don't install illuminate/support v5.2.27
- Conclusion: don't install illuminate/support v5.2.26
- Conclusion: don't install illuminate/support v5.2.25
- Conclusion: don't install illuminate/support v5.2.24
- Conclusion: don't install illuminate/support v5.2.21
- Conclusion: don't install illuminate/support v5.2.19
- Conclusion: don't install illuminate/support v5.2.7
- Conclusion: don't install illuminate/support v5.2.6
- Conclusion: don't install illuminate/support v5.2.0
- Conclusion: don't install illuminate/support v5.1.41
- Conclusion: don't install illuminate/support v5.1.31
- Conclusion: don't install illuminate/support v5.1.30
- Conclusion: don't install illuminate/support v5.1.28
- Conclusion: don't install illuminate/support v5.1.25
- Conclusion: don't install illuminate/support v5.1.22
- Conclusion: don't install illuminate/support v5.1.20
- Conclusion: don't install illuminate/support v5.1.16
- Conclusion: don't install illuminate/support v5.1.13
- Conclusion: don't install illuminate/support v5.1.8
- Conclusion: don't install illuminate/support v5.1.6
- Conclusion: don't install illuminate/support v5.1.2
- Conclusion: don't install illuminate/support v5.1.1
- Conclusion: don't install illuminate/support v5.0.33
- Conclusion: don't install illuminate/support v5.0.28
- Conclusion: don't install illuminate/support v5.0.26
- Conclusion: don't install illuminate/support v5.0.25
- Conclusion: don't install illuminate/support v5.0.22
- Conclusion: don't install illuminate/support v5.0.4
- Conclusion: don't install illuminate/support v5.0.0
- Conclusion: don't install illuminate/support 5.8.x-dev
- Conclusion: don't install illuminate/support 5.7.x-dev
- Conclusion: don't install illuminate/support 5.6.x-dev
- Conclusion: don't install illuminate/support 5.5.x-dev
- Conclusion: don't install illuminate/support 5.4.x-dev
- Conclusion: don't install illuminate/support 5.3.x-dev
- Conclusion: don't install illuminate/support 5.2.x-dev
- Conclusion: don't install illuminate/support 5.1.x-dev
- Installation request for laravel/framework (locked at v6.11.0, required as ^6.2) -> satisfiable by laravel/framework[v6.11.0].
- inani/larapoll 2.5 requires illuminate/support ~5 -> satisfiable by illuminate/support[5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.17, 5.7.18, 5.7.19, 5.7.x-dev, 5.8.x-dev, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23,
v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.39, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9, v5.7.0, v5.7.1, v5.7.10, v5.7.11, v5.7.15, v5.7.2, v5.7.20, v5.7.21, v5.7.22, v5.7.23, v5.7.26, v5.7.27, v5.7.28, v5.7.3, v5.7.4, v5.7.5, v5.7.6, v5.7.7, v5.7.8, v5.7.9, v5.8.0, v5.8.11, v5.8.12,
v5.8.14, v5.8.15, v5.8.17, v5.8.18, v5.8.19, v5.8.2, v5.8.20, v5.8.22, v5.8.24, v5.8.27, v5.8.28, v5.8.29, v5.8.3, v5.8.30, v5.8.31, v5.8.32, v5.8.33, v5.8.34, v5.8.35, v5.8.36, v5.8.4, v5.8.8, v5.8.9].
- inani/larapoll 2.5.1 requires illuminate/support ~5 -> satisfiable by illuminate/support[5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.17, 5.7.18, 5.7.19, 5.7.x-dev, 5.8.x-dev, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.39, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9, v5.7.0, v5.7.1, v5.7.10, v5.7.11, v5.7.15, v5.7.2, v5.7.20, v5.7.21, v5.7.22, v5.7.23, v5.7.26, v5.7.27, v5.7.28, v5.7.3, v5.7.4, v5.7.5, v5.7.6, v5.7.7, v5.7.8, v5.7.9, v5.8.0, v5.8.11, v5.8.12, v5.8.14, v5.8.15, v5.8.17, v5.8.18, v5.8.19, v5.8.2, v5.8.20, v5.8.22, v5.8.24, v5.8.27, v5.8.28, v5.8.29, v5.8.3, v5.8.30, v5.8.31, v5.8.32, v5.8.33, v5.8.34, v5.8.35, v5.8.36, v5.8.4, v5.8.8, v5.8.9].
- Conclusion: don't install illuminate/support 5.0.x-dev
- Installation request for inani/larapoll ^2.5 -> satisfiable by inani/larapoll[2.5, 2.5.1].
Installation failed, reverting ./composer.json to its original
content.
I am trying to install the Form & Html package in the laravel v5.8.4 via composer but its not working. I am getting this error every time. I tried googling the solution but all failed. Always the same error.
I am trying to install "laravelcollective/html": "~5.0". Tried both ways, composer update and composer require ...
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove laravel/framework v5.8.4
- graham-campbell/htmlmin v4.4.0 requires illuminate/view 5.1.*|5.2.*|5.3.* -> satisfiable by illuminate/view[5.1.x-dev, 5.2.x-dev, 5.3.x-dev, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4].
- graham-campbell/htmlmin v4.5.0 requires illuminate/view 5.1.*|5.2.*|5.3.*|5.4.* -> satisfiable by illuminate/view[5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9].
- don't install illuminate/view 5.2.x-dev|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.0|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.19|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.21|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.24|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.25|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.26|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.27|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.28|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.31|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.32|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.37|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.43|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.45|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.6|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.2.7|don't install laravel/framework v5.8.4
- don't install illuminate/view 5.3.x-dev|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.3.0|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.3.16|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.3.23|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.3.4|don't install laravel/framework v5.8.4
- don't install illuminate/view 5.4.x-dev|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.4.0|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.4.13|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.4.17|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.4.19|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.4.27|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.4.36|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.4.9|don't install laravel/framework v5.8.4
- don't install illuminate/view 5.1.x-dev|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.1.1|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.1.13|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.1.16|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.1.2|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.1.20|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.1.22|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.1.25|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.1.28|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.1.30|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.1.31|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.1.41|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.1.6|don't install laravel/framework v5.8.4
- don't install illuminate/view v5.1.8|don't install laravel/framework v5.8.4
- Installation request for laravel/framework 5.8.4 -> satisfiable by laravel/framework[v5.8.4].
- Installation request for graham-campbell/htmlmin ^4.4 -> satisfiable by graham-campbell/htmlmin[v4.4.0, v4.5.0].
Revert back your composer.json and composer.lock file
After try
composer require laravelcollective/html
It will install the latest one and it is compatible with laravel 5.8
You are trying to install "laravelcollective/html": "~5.0" with a particular tag which is not compatible with laravel 5.8
Can you please check with your laravelcollective/html": "~5.0" package, whether it supports Laravel 5.8. If any of your package doesn't match laravel 5.8 version, this error will be shown. Add appropriate version and run composer update. It will definitely work...
I am working on laravel 5.4 and using laravel collective 5.1 but i when i try to update the composer i am facing this error
> composer update 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
> - Conclusion: remove laravel/framework v5.4.36
> - Conclusion: don't install laravel/framework v5.4.20
> - Conclusion: don't install laravel/framework v5.4.19
> - Conclusion: don't install laravel/framework v5.4.18
> - Conclusion: don't install laravel/framework v5.4.17
> - Conclusion: don't install laravel/framework v5.4.16
> - Conclusion: don't install laravel/framework v5.4.15
> - Conclusion: don't install laravel/framework v5.4.14
> - Conclusion: don't install laravel/framework v5.4.13
> - Conclusion: don't install laravel/framework v5.4.6
> - Conclusion: don't install laravel/framework v5.4.5
> - Conclusion: don't install laravel/framework v5.4.4
> - Conclusion: don't install laravel/framework v5.4.3
> - Conclusion: don't install laravel/framework v5.4.2
> - Conclusion: don't install laravel/framework v5.4.1
> - laravelcollective/html v5.1.0 requires illuminate/session 5.1.* -> satisfiable by illuminate/session[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6,
> v5.1.8].
> - don't install illuminate/session v5.1.1|don't install laravel/framework v5.4.0
> - don't install illuminate/session v5.1.13|don't install laravel/framework v5.4.0
> - don't install illuminate/session v5.1.16|don't install laravel/framework v5.4.0
> - don't install illuminate/session v5.1.2|don't install laravel/framework v5.4.0
> - Installation request for laravel/framework 5.4.* -> satisfiable by laravel/framework[v5.4.0, v5.4.1, v5.4.10, v5.4.11, v5.4.12,
> v5.4.13, v5.4.14, v5.4.15, v5.4.16, v5.4.17, v5.4.18, v5.4.19, v5.4.2,
> v5.4.34, v5.4.35, v5.4.36, v5.4.4, v5.4.5, v5.4.6, v5.4.7, v5.4.8,
> v5.4.9].
> - Installation request for laravelcollective/html 5.1.* -> satisfiable by laravelcollective/html[v5.1.0, v5.1.1, v5.1.10, v5.1.2,
> v5.1.3, v5.1.4, v5.1.5, v5.1.6, v5.1.7, v5.1.8, v5.1.9].
This is how my Composer.json looks
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.6",
"laravel/framework": "5.4.*",
"laravel/tinker": "~1.0",
"laravelcollective/html": "5.1.*"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~5.7"
},
Can someone help me out to solve this
thanks
First change the name of vendor folder to vendor_old and then remove "laravelcollective/html": "5.1.*" from composer.json file.
Then run composer require "laravelcollective/html":"^5.4.0" and after that run composer update command.
This will generate new vendor folder with new dependencies!
Hope this will helps you!
i want to make a webservice and i need to install a extension called JWT-Auth.
I never really used composer so i have no idea where the problem is.
composer.json -> require:
"require": {
"laravel/framework": "4.2.*",
"doctrine/dbal": "~2.4",
"tymon/jwt-auth": "0.5.*",
"illuminate/http": "5.0.*"
}
and the output of composer:
$ sudo composer update
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
- Conclusion: remove laravel/framework v4.2.17
- Conclusion: don't install laravel/framework v4.2.17
- Conclusion: don't install laravel/framework v4.2.16
- Conclusion: don't install laravel/framework v4.2.15
- Conclusion: don't install laravel/framework v4.2.14
- Conclusion: don't install laravel/framework v4.2.13
- Conclusion: don't install laravel/framework v4.2.12
- Conclusion: don't install laravel/framework v4.2.11
- Conclusion: don't install laravel/framework v4.2.10
- Conclusion: don't install laravel/framework v4.2.9
- Conclusion: don't install laravel/framework v4.2.8
- Conclusion: don't install laravel/framework v4.2.7
- Conclusion: don't install laravel/framework v4.2.6
- Conclusion: don't install laravel/framework v4.2.5
- Conclusion: don't install laravel/framework v4.2.4
- Conclusion: don't install laravel/framework v4.2.3
- Conclusion: don't install laravel/framework v4.2.2
- Conclusion: don't install laravel/framework v4.2.1
- illuminate/http v5.0.0 requires illuminate/session 5.0.* -> satisfiable by illuminate/session[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4].
- illuminate/http v5.0.22 requires illuminate/session 5.0.* -> satisfiable by illuminate/session[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4].
- illuminate/http v5.0.25 requires illuminate/session 5.0.* -> satisfiable by illuminate/session[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4].
- illuminate/http v5.0.26 requires illuminate/session 5.0.* -> satisfiable by illuminate/session[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4].
- illuminate/http v5.0.28 requires illuminate/session 5.0.* -> satisfiable by illuminate/session[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4].
- illuminate/http v5.0.33 requires illuminate/session 5.0.* -> satisfiable by illuminate/session[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4].
- illuminate/http v5.0.4 requires illuminate/session 5.0.* -> satisfiable by illuminate/session[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4].
- don't install illuminate/session v5.0.0|don't install laravel/framework v4.2.0
- don't install illuminate/session v5.0.22|don't install laravel/framework v4.2.0
- don't install illuminate/session v5.0.25|don't install laravel/framework v4.2.0
- don't install illuminate/session v5.0.26|don't install laravel/framework v4.2.0
- don't install illuminate/session v5.0.28|don't install laravel/framework v4.2.0
- don't install illuminate/session v5.0.33|don't install laravel/framework v4.2.0
- don't install illuminate/session v5.0.4|don't install laravel/framework v4.2.0
- Installation request for laravel/framework 4.2.* -> satisfiable by laravel/framework[v4.2.0, v4.2.1, v4.2.10, v4.2.11, v4.2.12, v4.2.13, v4.2.14, v4.2.15, v4.2.16, v4.2.17, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
- Installation request for illuminate/http 5.0.* -> satisfiable by illuminate/http[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4].
$
Laravel 4.2 needs 0.4.* of the jwt-auth package. And you should'nt need to define illuminate/http, Laravel will do that for you.
Try this (not tested):
"require": {
"laravel/framework": "4.2.*",
"doctrine/dbal": "~2.4",
"tymon/jwt-auth": "0.4.*"
}