Download the PHP package antlur/laravel-static-export without Composer
On this page you can find all versions of the php package antlur/laravel-static-export. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download antlur/laravel-static-export
More information about antlur/laravel-static-export
Files in antlur/laravel-static-export
Package laravel-static-export
Short Description Export your laravel site as static files
License MIT
Homepage https://github.com/antlur/laravel-static-export
Informations about the package laravel-static-export
Export your laravel site as static files
Host your Laravel site on Netlify, Vercel, or any other static site host. This package will generate static files from your Laravel site with very little setup. A convenient attribute is provided to provide routes with dynamic parameters.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
Dynamic Data during static site generation
When generating the static site, you can use the ExportPaths attribute to define which routes should be generated. This is useful when you have dynamic data that you want to generate static pages for. For example, if you have a blog and you want to generate static pages for each blog post, you can use the ExportPaths attribute to define which routes should be generated. The rest of your logic can be handled as if it was a normal Laravel application.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Anthony Holmes
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-static-export with dependencies
spatie/laravel-package-tools Version ^1.14.0
laravel/framework Version ^10.0