uaibo/launchpad

Create a pre-launch page for your Laravel project

1.1.16 2023-07-23 22:03 UTC

This package is auto-updated.

Last update: 2024-04-23 23:42:01 UTC


README

Create a pre-launch page for your Laravel project.

Requirements

  • PHP >= 8.1
  • Laravel >= 5.0

Installation

  1. Install Launchpad using composer require:
composer require uaibo/launchpad

Add the service provider in config/app.php:

Important: If you're using Laravel 5.5 or above, you can skip the registration of the service provider, as it is registered automatically.

Uaibo\Launchpad\LaunchpadServiceProvider::class
  1. Publish the configuration file and assets:
php artisan vendor:publish --tag="launchpad"
  1. Run migrations:
php artisan migrate

This will create the launchpad table in your database where all the signups will be stored.

  1. Add .env variable:
APP_MODE=launchpad

Configuration

  1. Customize the content via the config file:
config/launchpad.php
  1. Add or replace logos, with your own:
/vendor/uaibo/launchpad/assets/logo-wide.png
/vendor/uaibo/launchpad/assets/logo-square.png

Image shown when your app is shared on social media. Recommended size: 1200x630):

/vendor/uaibo/launchpad/assets/social.png

Logo shown under the main logo, can be a "created by" logo:

/vendor/uaibo/launchpad/assets/logo-vendor.png
  1. If you also want to show a short video, add the following files:

Video file:

/vendor/uaibo/launchpad/assets/video.mp4

Video poster image:

/vendor/uaibo/launchpad/assets/video.jpg

image