Download the PHP package phpreel/static without Composer
On this page you can find all versions of the php package phpreel/static. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phpreel/static
More information about phpreel/static
Files in phpreel/static
Package static
Short Description Laravel package that converts your application into a static HTML website.
License MIT
Informations about the package static
phpReel Static Laravel Package
phpReel Static is a simple Laravel Package created and used by phpReel that converts your Laravel application to a static HTML website.
You only have one artisan command php artisan generate:static
which will generate your static website. Once you run this command you will find your static website in a directory called static
, right at the root of your Laravel application.
You can add a .gitignore file to the static
directory and restrict the files that can be committed. Here is the .gitignore
file used by phpReel.
Make sure you have your Laravel application running on a server before executing the command. You can start a server in seconds by running php artisan serve
into your terminal. Don't close the server when you are running php artisan generate:static
, just use two terminals if needed.
Keep in mind that a some of the functionality that your Laravel app offered might not be available anymore on your static website (you will not have access to a database, login system, payments and so on).
Installation
You can install the package via composer.
Why to use phpReel Static?
The main benefit of having static websites is the fact that you can deploy them anywhere from GitHub Pages to Netlify or even Google Drive. This means that is very easy and cheap to have your own website on the internet.
How to update a website generated by phpReel Static
You should run your Laravel application and make your modifications there (stuff like adding a new article, updating something and so on). Once you are done, run the command php artisan generate:static
and deploy the newly generated static website directly to your provider.
Contributing
phpReel is getting bigger and better each day, thus with every new feature, it becomes more and more difficult to manage a product without a team. I really want to grow this project into a full-blown software company but until that day I rely entirely on the help of the community. Here is a list of things you can do to help phpReel grow:
- Fork the project on GitHub and contribute to it by adding new features, fixing bugs, or improving on what's already there (then submit a pull request)
- Spread the word about the project
- Just simply use it and open an issue on GitHub if you find any bugs