PHPackages                             ayarigab/pla - 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. [Framework](/categories/framework)
4. /
5. ayarigab/pla

ActiveLibrary[Framework](/categories/framework)

ayarigab/pla
============

Write progressive Web Applications with laravel webframework.

07PHP

Since Mar 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ayarigab/pla)[ Packagist](https://packagist.org/packages/ayarigab/pla)[ RSS](/packages/ayarigab-pla/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/9838fb4cd5a91e8e35c959d0128315c38c455da205651789c7b996358a7e7874/687474703a2f2f706f7365722e707567782e6f72672f6c6164756d6f722f6c61726176656c2d7077612f76)](https://packagist.org/packages/ladumor/laravel-pwa)[![Daily Downloads](https://camo.githubusercontent.com/9d92ff4e9c0c1bff8846e93d5c573950add3b452d18ef63de19f1b5f37ad21a6/687474703a2f2f706f7365722e707567782e6f72672f6c6164756d6f722f6c61726176656c2d7077612f642f6461696c79)](https://packagist.org/packages/ladumor/laravel-pwa)[![Monthly Downloads](https://camo.githubusercontent.com/2879b70249bf831559e8b5516e7deb8e304114abc1e3ce17fcbfaa45fe49a05f/687474703a2f2f706f7365722e707567782e6f72672f6c6164756d6f722f6c61726176656c2d7077612f642f6d6f6e74686c79)](https://packagist.org/packages/ladumor/laravel-pwa)[![Total Downloads](https://camo.githubusercontent.com/357f3d32cffe1da8d6ea955f3da1d4abaea7f494a18bc4929ef80e17cf90f414/687474703a2f2f706f7365722e707567782e6f72672f6c6164756d6f722f6c61726176656c2d7077612f646f776e6c6f616473)](https://packagist.org/packages/ladumor/laravel-pwa)[![License](https://camo.githubusercontent.com/e30d001700f759114f51c3cb327cd61f4e2fb0242f468d4a95b827ef9e5a1ef3/687474703a2f2f706f7365722e707567782e6f72672f6c6164756d6f722f6c61726176656c2d7077612f6c6963656e7365)](https://packagist.org/packages/ladumor/laravel-pwa)[![PHP Version Require](https://camo.githubusercontent.com/facbd94e886f30f67022b5c71d416c6b09e6a671cb5bfe54fcd70e1436c64746/687474703a2f2f706f7365722e707567782e6f72672f6c6164756d6f722f6c61726176656c2d7077612f726571756972652f706870)](https://packagist.org/packages/ladumor/laravel-pwa)

Laravel PWA
===========

[](#laravel-pwa)

Installation
------------

[](#installation)

Install the package by the following command,

```
composer require ayarigab/pla

```

Add Provider
------------

[](#add-provider)

Add the provider to your `config/app.php` into `provider` section if using lower version of laravel,

```
Ayarigab\Pla\PLAServiceProvider::class,

```

Add Facade
----------

[](#add-facade)

Add the Facade to your `config/app.php` into `aliases` section,

```
'PLA' => \Ayarigab\Pla\PLA::class,

```

Publish the Assets
------------------

[](#publish-the-assets)

Run the following command to publish config file,

```
php artisan pla:publish

```

Configure PLA
-------------

[](#configure-pla)

Add following code in root blade file in header section.

```

```

Add the following code in your root blade file before closing the body tag.

```

    if (!navigator.serviceWorker.controller) {
        navigator.serviceWorker.register("/sw.js").then(function (reg) {
            console.log("Service worker has been registered for scope: " + reg.scope);
        });
    }

```

### License

[](#license)

PLA is (MIT) Licensed. Please read the [License](LICENSE.md) file to know more.

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c8e26c209b5bd27f7a5146ffa6cbda4b7d1485e91eacab40f1896958b43ec1b?d=identicon)[jessybright66@gmail.com](/maintainers/jessybright66@gmail.com)

---

Top Contributors

[![ayarigab](https://avatars.githubusercontent.com/u/74462341?v=4)](https://github.com/ayarigab "ayarigab (1 commits)")

### Embed Badge

![Health badge](/badges/ayarigab-pla/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M190](/packages/laravel-telescope)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M529](/packages/laravel-passport)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M256](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M591](/packages/laravel-prompts)

PHPackages © 2026

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