定制 aliabdulaziz/laravel-extended-user 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

aliabdulaziz/laravel-extended-user

最新稳定版本:v1.0.0

Composer 安装命令:

composer require aliabdulaziz/laravel-extended-user

包简介

This Laravel package adds profile page, account page, and extra features to Laravel's authenticated users.

README 文档

README

This Laravel package adds profile page, account page, and extra features to Laravel's built-in Auth system

Requirements

  • Bootstrap 4
  • Laravel 5.3+

Screenshots

Profile page

Account page

Delete account page

Installation

It is recommended to install this package in a fresh installation of Laravel.

Laravel's built-in Auth System

This package is integrated with Laravel's built-in Auth System, so you must first run this command if you have not run it yet:

php artisan make:auth

Now go to your (env) file and make sure that you have selected your database.

Install the package using composer

Now install the package using composer by running the following command:

composer require aliabdulaziz/laravel-extended-user

Add the service provider (for Laravel < 5.5)

Go to: (Your Laravel App) --> config --> app.php

and add the following line under 'Package Service Providers' comment:

Aliabdulaziz\LaravelExtendedUser\LaravelExtendedUserServiceProvider::class

Publish the config file

Run the following command to publish the package config file:

php artisan vendor:publish --provider="Aliabdulaziz\LaravelExtendedUser\LaravelExtendedUserServiceProvider" --tag=config

The config file is named (laravelextendeduser.php) and will be located in the 'config' folder.

Publish the assets (CSS and JS files)

Run the following command to publish the package assets:

php artisan vendor:publish --provider="Aliabdulaziz\LaravelExtendedUser\LaravelExtendedUserServiceProvider" --tag=assets

Migrate

Run the artisan migrate command to create the users table:

this command will also migrate the package migration file by which the profile field is added to the users table.

php artisan migrate

Create the symbolic link

The following command will create a symbolic link from 'public/storage' to 'storage/app/public'. This is neccessary to access the user profile image (avatar).

php artisan storage:link

Access 'Profile' and 'Account' pages

Now you can access the 'profile' and the 'account' pages by visiting the following routes:

  • /profile
  • /account

Customization

To customize the package default views publish them to your views folder by running the following command:

php artisan vendor:publish --provider="Aliabdulaziz\LaravelExtendedUser\LaravelExtendedUserServiceProvider" --tag=views

Now make whatever customization you want on the published views.

you can also publish the assets source files (sass and js files) by running the following command:

php artisan vendor:publish --provider="Aliabdulaziz\LaravelExtendedUser\LaravelExtendedUserServiceProvider" --tag=src

these files will be located in (Your Laravel app) --> resources --> assets --> vendor --> laravelextendeduser.

aliabdulaziz/laravel-extended-user 适用场景与选型建议

aliabdulaziz/laravel-extended-user 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 691 次下载、GitHub Stars 达 7, 最近一次更新时间为 2018 年 05 月 13 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 aliabdulaziz/laravel-extended-user 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 aliabdulaziz/laravel-extended-user 我们能提供哪些服务?
定制开发 / 二次开发

基于 aliabdulaziz/laravel-extended-user 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 691
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 13
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 0
  • Forks: 3
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-05-13