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

Lumen support #24

Open
abinop opened this issue Jun 1, 2016 · 5 comments
Open

Lumen support #24

abinop opened this issue Jun 1, 2016 · 5 comments

Comments

@abinop
Copy link

abinop commented Jun 1, 2016

Does this work with Lumen as well?

@f2m2rd
Copy link
Contributor

f2m2rd commented Jun 3, 2016

Are you able to test this?

@fbatschi
Copy link

fbatschi commented Jul 13, 2016

No it seems it does not work with Lumen 5.2

First it throws an error in /src/config/apidocs.php about an unknown method "app_path('views')"
You can temporarily workaround this by entering something else like '/tmp/

Generating the docs does not throw an error, but you are not able to add a route with a function like "View::make('docs...index')" as the View Class does not exist. The Generate command itself does not seem to generate anything

@f2m2rd
Copy link
Contributor

f2m2rd commented Jul 14, 2016

app_path is a helper in Laravel. https://laravel.com/docs/5.0/helpers#paths

Luman doesn't have helper classes like Laravel, so that is what the error you are seeing.

You can temporarily workaround this by entering something else like '/tmp/

This isn't going to do anything, you would need to find the app_path, which is the fully qualified path to the app directory.

@RafaelPlantard
Copy link

@isbkch
Copy link

isbkch commented Mar 22, 2018

Still no support for Lumen latest

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

5 participants