This is my package statamic-public-preview
modrictin/statamic-public-preview is a Laravel package for this is my package statamic-public-preview.
It currently has 0 GitHub stars and 30 downloads on Packagist (latest version v1.0.1).
Install it with composer require modrictin/statamic-public-preview.
Discover more Laravel packages by modrictin
or browse all Laravel packages to compare alternatives.
Last updated
Statamic Public Preview is a package that provides an action for generating public preview links for your Statamic websites. With this package, you can easily share a temporary preview of your site's content with clients, stakeholders, or team members without granting them full access.
To install the Statamic Public Preview package, follow these steps:
composer require modrictin/statamic-public-preview
This command will download and install the package and its dependencies into your Statamic project.
The package allows you to customize the database connection, table name, and the expiration time for preview links. To modify these settings, follow the steps below:
php artisan vendor:publish --tag="public-preview-config"
This command will create a configuration file named public-preview.php in your project's config directory.
Open the public-preview.php file and modify the desired settings according to your requirements.
Go to collection list view, and open the Action dropdown menu for the entry for which you want to generate a public preview link. Click on the Generate Public Preview Link option. This will generate a public preview link for the entry and redirect you to it.
Contributions are welcome! If you encounter any issues, have suggestions, or want to contribute enhancements or new features, please feel free to open an issue or submit a pull request on the GitHub repository.
The Statamic Public Preview package is open-source software licensed under the MIT license.