Download the PHP package danrovito/laravel-gravatar without Composer
On this page you can find all versions of the php package danrovito/laravel-gravatar. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download danrovito/laravel-gravatar
More information about danrovito/laravel-gravatar
Files in danrovito/laravel-gravatar
Package laravel-gravatar
Short Description Uses the authorized users email to display their Gravatar as an image
License MIT
Informations about the package laravel-gravatar
Laravel Gravatar
Laravel Gravatar is a simple Laravel package that displays a registered users Gravatar based on their email address in your users table. If the user does not have a registered gravatar it will show the default mystery man.
Installation
Via Composer
composer require danrovito/laravel-gravatar
Usage
Use Gravatar in your User model.
You can also control what attribute should be treated as the email address (instead of email
) by overriding the emailAttributeName()
method:
Then in your view wherever you want to use the Gravatar
License
Laravel Slack Invite is open-sourced software licensed under the MIT license
Bug Reporting and Feature Requests
Please add as many details as possible regarding submission of issues and feature requests
Disclaimer
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.