Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lumen5.8能用吗? #10

Closed
dishcheng opened this issue Oct 25, 2019 · 3 comments
Closed

lumen5.8能用吗? #10

dishcheng opened this issue Oct 25, 2019 · 3 comments

Comments

@dishcheng
Copy link

如题

@dishcheng
Copy link
Author

执行 php artisan scout:import
提示:
In Container.php line 788:

Class path.config does not exist

@dishcheng
Copy link
Author

另外我有多个数据库,执行业务的时候需要操作到不同的数据库,这个轮子能满足吗?

@vanry
Copy link
Owner

vanry commented Dec 24, 2019

@dishcheng

lumen 可以用 在容器中注册下 path.config 就可以了

// bootstrap/app.php
$app->instance('path.config', config_path());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants