PHPackages                             phpreel/static - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpreel/static

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpreel/static
==============

Laravel package that converts your application into a static HTML website.

v1.0.0(4y ago)162.7k11MITPHP

Since Aug 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/phpreel/static)[ Packagist](https://packagist.org/packages/phpreel/static)[ RSS](/packages/phpreel-static/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

[![](https://camo.githubusercontent.com/59191de93c8635ee553f2f0aa987c9fa30884c1f5d7dc491bbff605172d65002/68747470733a2f2f646576656c6f7065722e7068707265656c2e6f72672f696d672f6c6f676f2e706e67)](https://phpreel.org/)

phpReel Static Laravel Package
==============================

[](#phpreel-static-laravel-package)

[![Total Downloads](https://camo.githubusercontent.com/67808e8708150a064bc36123f5e379cd732c91779670f0062bd3bd0e20bbd021/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068707265656c2f7374617469632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phpreel/static)

[phpReel](https://phpreel.org/) Static is a simple Laravel Package created and used by [phpReel](https://github.com/phpreel/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](https://github.com/phpreel/phpreel).

```
*
*/
!.gitignore

```

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
------------

[](#installation)

You can install the package via composer.

```
composer require phpreel/static

```

Why to use phpReel Static?
--------------------------

[](#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
---------------------------------------------------

[](#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
------------

[](#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](https://github.com/phpreel/static/) 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](https://github.com/phpreel/static/issues) if you find any bugs

License
-------

[](#license)

[MIT](https://github.com/phpreel/phpreel/blob/main/LICENSE)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1779d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c55a63d92104661ecf0a823c46a0ec3f828e2ee8ad0dea77788574b84313840?d=identicon)[phpreel](/maintainers/phpreel)

---

Top Contributors

[![paulbalan](https://avatars.githubusercontent.com/u/54396078?v=4)](https://github.com/paulbalan "paulbalan (15 commits)")

### Embed Badge

![Health badge](/badges/phpreel-static/health.svg)

```
[![Health](https://phpackages.com/badges/phpreel-static/health.svg)](https://phpackages.com/packages/phpreel-static)
```

###  Alternatives

[spatie/menu

Html menu generator

7683.0M11](/packages/spatie-menu)[spatie/laravel-navigation

Manage menus, breadcrumbs, and other navigational elements in Laravel apps

5831.2M16](/packages/spatie-laravel-navigation)[spatie/laravel-missing-page-redirector

Redirect missing pages in your Laravel application

5131.5M19](/packages/spatie-laravel-missing-page-redirector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
