abhitheawesomecoder / profilepic
包,用于添加到laravel 5.2 Auth Scaffold的用户头像
1.0.1
2016-05-22 08:58 UTC
Requires
- php: >=5.4.0
- abhitheawesomecoder/laravel-edit-profile: ^1.0.0
- illuminate/support: ^5.0
This package is not auto-updated.
Last update: 2024-09-26 01:30:32 UTC
README
包,用于向laravel 5 auth scaffold添加用户头像功能
安装
步骤 1 : Laravel 5.2 Auth Scaffold
php artisan make:auth
步骤 2 : 安装Composer依赖
composer require abhitheawesomecoder/profilepic
步骤 3 : 注册服务提供者
将 Abhitheawesomecoder\Profilepic\ProfilepicServiceProvider::class 添加到 config/app.php 文件中的 providers 数组中
运行以下命令:'php artisan vendor:publish',你可以覆盖 'views/vendor/abhitheawesomecoder/profilepic' 文件夹下的视图
步骤 4 : 运行迁移
php artisan migrate
用法
访问链接 https:///laravel/public/profile-picture
其中 https:///laravel/public/ 是你的laravel网站的路径