mark-villudo/login-page
Composer 安装命令:
composer require mark-villudo/login-page
包简介
Laravel Login Page and Functions
README 文档
README
Installation
Require this package with composer.
composer require mark-villudo/login-page
To install Tailwind CSS in Laravel, follow these steps:
Step 1: Create a new Laravel project Open your terminal and navigate to the directory where you want to create your Laravel project. Then, run the following command to create a new Laravel project:
composer create-project --prefer-dist laravel/laravel your-project-name
Step 2: Install Tailwind CSS Once the project is created, navigate to the project directory by running:
cd your-project-name
Then, you can install Tailwind CSS using the npm package manager. Run the following command to install it:
npm install tailwindcss
Step 3: Configure Tailwind CSS After the installation, you need to generate the basic configuration file for Tailwind CSS. Run the following command to generate the default tailwind.config.js file:
npx tailwindcss init
This will create a tailwind.config.js file in your project's root directory.
Step 4: Include Tailwind CSS in your Laravel project Next, you need to include the Tailwind CSS styles in your Laravel project. Open the resources/css/app.css file and replace its contents with the following:
css
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
Step 5: Build your assets To compile your Tailwind CSS styles into a CSS file, you need to run Laravel Mix. In your terminal, run the following command:
npm run dev
This will compile your CSS styles using Laravel Mix, and you should see a new public/css/app.css file.
Step 6: Include the compiled CSS file in your Laravel project Finally, you need to include the compiled CSS file in your Laravel project. Open the resources/views/layouts/app.blade.php file and add the following line within the <head> section:
html
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
Now, Tailwind CSS is installed and configured in your Laravel project. You can start using the Tailwind CSS classes in your views or components.
Publish login view login blade file
php artisan vendor:publish --provider="MarkVilludo\LoginPage\LoginServiceProvider" --tags=views
License
The MIT License (MIT). Please see License File for more information.
mark-villudo/login-page 适用场景与选型建议
mark-villudo/login-page 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 1 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 10 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api」 「login」 「laravel」 「multi-auth」 「login-auth」 「login-page」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 mark-villudo/login-page 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mark-villudo/login-page 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 mark-villudo/login-page 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
WeChat OAuth SDK
Debugging a problem and need to login as one of your customers? This allows you to authenticate as any of your customers.
A PSR-7 compatible library for making CRUD API endpoints
A Silverstripe module to allow you to log into any of your Silverstripe sites from one place.
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
Contao 4 bundle for a Facebook login.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-10-28