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 configuration file #5

Closed
OskarD opened this issue Feb 25, 2016 · 1 comment
Closed

Lumen configuration file #5

OskarD opened this issue Feb 25, 2016 · 1 comment

Comments

@OskarD
Copy link

OskarD commented Feb 25, 2016

Thank you so much for Lumen compatibility!

Is there any way to allow for extending/modifying the functionality with Lumen? If not, some way to do that would be very useful.

@selahattinunlu
Copy link
Owner

You can change configuration at runtime.

Eg: app/bootstrap.php file

config()->set('api-query-builder.limit', 1);
config()->set('api-query-builder.orderBy', [
       [
            'column' => 'id',
            'direction' => 'desc'
        ]
]);

And you can access all configuration like this:
config('api-query-builder')

I am glad if I can help you :)

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