承接 tauseedzaman/laravel-coming-soon 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

tauseedzaman/laravel-coming-soon

最新稳定版本:V1.0

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!

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固