定制 tauseedzaman/laravel-coming-soon 二次开发

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

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

tauseedzaman/laravel-coming-soon

Composer 安装命令:

composer require tauseedzaman/laravel-coming-soon

包简介

Dynamic Comming Soon package for laravel

README 文档

README

The Laravel Coming Soon package provides a simple and customizable way to set up a "Coming Soon" page for your Laravel application. This page allows you to inform your visitors that your website is under construction and provide them with essential information about the launch date.

Installation

To get started with the Laravel Coming Soon package, follow these steps:

Step 1: Composer Install

You can install the package via Composer. Run the following command in your terminal:

composer require tauseedzaman/laravel-coming-soon

Step 2: Publish Configuration

Publish the package configuration file to customize settings according to your project requirements:

php artisan vendor:publish --tag=coming-soon-config

This command will generate a coming-soon.php configuration file in the config directory of your Laravel project.

Step 3: Migrate the Database

Run the migration to create the necessary database table for managing the "Coming Soon" settings:

php artisan migrate

Step 4: Set Up Your Configuration

Now, open the config/coming-soon.php configuration file and customize it according to your needs. You can set the title, description, launch date, and enable or disable the "Coming Soon" mode.

Step 5: Protect Routes (Optional)

By default, the package will protect your entire site with a "Coming Soon" page. If you want to protect specific routes or actions, you can use middleware. Update your routes or controllers as needed.

Route::middleware(['coming-soon'])->group(function () {
    // Define your protected routes here
});

Step 6: Enable the "Coming Soon" Mode

To enable the "Coming Soon" mode and display the "Coming Soon" page, set the COMING_SOON_ENABLED environment variable to true in your .env file:

COMING_SOON_ENABLED=true

Step 7: Customize the Views (Optional)

You can customize the "Coming Soon" page views by publishing them to your project:

php artisan vendor:publish --tag=coming-soon-views

This command will copy the views to the resources/views/vendor/coming-soon directory, allowing you to modify them as needed.

Step 8: Launch Your Application

Once you have configured and customized the "Coming Soon" package to your liking, you can launch your Laravel application. Your visitors will see the "Coming Soon" page until the launch date arrives.

License

This package is open-source software licensed under the MIT license.

Support

If you encounter any issues or have questions about using this package, please feel free to open an issue on GitHub.

Credits

This package is created and maintained by tauseedzaman.

Thank you for using Laravel Coming Soon!

tauseedzaman/laravel-coming-soon 适用场景与选型建议

tauseedzaman/laravel-coming-soon 是一款 基于 CSS 开发的 Composer 扩展包,目前已累计 88 次下载、GitHub Stars 达 2, 最近一次更新时间为 2023 年 09 月 25 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「Maintenance mode」 「laravel package」 「coming-soon」 「Laravel Coming Soon」 「Countdown Timer」 「Under Construction Page」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

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

围绕 tauseedzaman/laravel-coming-soon 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 88
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 25
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-25