Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added functionality to service provider #18

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

Closed
mscmorris wants to merge 2 commits into mongodb:master from mscmorris:master

Conversation

@mscmorris
Copy link

@mscmorris mscmorris commented Aug 14, 2013

Added a method which registers the mongodb connection as the database
presence verifier for use with laravel Validation

Added a method which registers the mongodb connection as the database
presence verifier for use with laravel Validation
Copy link
Contributor

Maybe we should add this to a separate service provider so that we can make this optional? This pull request currently breaks the code because Illuminate\Validation is not required in the composer.json.

Copy link
Author

Yes, that's probably a good idea, and I thought about it a bit some earlier. The only thing I wonder is whether one service provider should depend on another.

As for the break, the latest commit in the pull should have the proper dependency. That is strange.

Copy link
Contributor

I found a way to extend the original database manager instead of registering a new database manager. This pull request is probably no longer needed since it is now using app['db'] and not app['mongodb'] anymore.

Copy link
Author

Thanks!

Smolevich pushed a commit that referenced this pull request Feb 10, 2020
alcaeus pushed a commit to alcaeus/laravel-mongodb that referenced this pull request Aug 16, 2023
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this pull request Sep 2, 2024
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /