kikoseijo / lumen-lighthouse-graphql

Lumen example use of a GraphQL PHP server using Lighthouse package
http://kikoseijo.com/laravel-lumen-graphql-server-for-react-relay-modern/
MIT License
32 stars 3 forks source link

Con not working with Lumen 6.0.2 #3

Open kieuminhcanh opened 5 years ago

kieuminhcanh commented 5 years ago

I using lumen 6.0.2 and can not install with this

composer require nuwave/lighthouse Must add in app.php

$app->instance('path.config', app()->basePath() . DIRECTORY_SEPARATOR . 'config');
$app->instance('path.storage', app()->basePath() . DIRECTORY_SEPARATOR . 'storage');

and edit php

//from 
$app->run();
//to
$app->run(
    $app->make('request')
);

And then lighthouse working.

But with 3 packages

composer require ksoft/klaravel
composer require dusterio/lumen-passport
composer require appzcoder/lumen-routes-list

I facing with this error

Problem 1
    - Installation request for albertcht/lumen-helpers ^0.7.0 -> satisfiable by albertcht/lumen-helpers[v0.7].
    - Conclusion: remove laravel/lumen-framework v6.0.2
    - Conclusion: don't install laravel/lumen-framework v6.0.2
    - albertcht/lumen-helpers v0.7 requires laravel/lumen-framework ^5.1 -> satisfiable by laravel/lumen-framework[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.x-dev, 5.8.x-dev].
    - Can only install one of: laravel/lumen-framework[5.1.x-dev, v6.0.2].
    - Can only install one of: laravel/lumen-framework[5.2.x-dev, v6.0.2].
    - Can only install one of: laravel/lumen-framework[5.3.x-dev, v6.0.2].
    - Can only install one of: laravel/lumen-framework[5.4.x-dev, v6.0.2].
    - Can only install one of: laravel/lumen-framework[5.5.x-dev, v6.0.2].
    - Can only install one of: laravel/lumen-framework[5.6.x-dev, v6.0.2].
    - Can only install one of: laravel/lumen-framework[5.7.x-dev, v6.0.2].
    - Can only install one of: laravel/lumen-framework[5.8.x-dev, v6.0.2].
    - Installation request for laravel/lumen-framework (locked at v6.0.2, required as ^6.0) -> satisfiable by laravel/lumen-framework[v6.0.2].