PHPackages                             tprwt/pnkjtesting - 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. tprwt/pnkjtesting

ActivePackage

tprwt/pnkjtesting
=================

Change Page - Change home page

00PHP

Since Jun 23Pushed 2y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

To colorize the highlighted text in addition to adding the asterisks, you can use HTML `` tags with inline CSS styles. Here's the modified content with colorized and highlighted text:

Proton Auth Context Package
===========================

[](#proton-auth-context-package)

This is a Laravel package that provides authentication context functionality using Proton. It allows you to easily integrate Proton login functionality into your Laravel application.

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

[](#installation)

1. Run the following command to install the package:

    ```
    composer require home-bloks/proton-auth-context
    ```
2. Run the Proton authentication command:

    ```
    php artisan proton:auth
    ```
3. Install the required npm packages:

    ```
    npm install
    ```
4. Compile the assets:

    ```
    npm run dev
    ```

Configuration
-------------

[](#configuration)

1. Update your `vite.config.js` file by adding the following code:

    ```
    import { defineConfig } from 'vite';
    import laravel from 'laravel-vite-plugin';
    import react from "@vitejs/plugin-react";

    export default defineConfig({
        plugins: [
            laravel({
                input: ['resources/css/app.css', 'resources/js/app.js'],
                refresh: true,
            }),
            react(),
        ],
    });
    ```
2. Update your root JavaScript file (e.g., `App.jsx`, `app.jsx`, `Main.jsx`) with the following code:

    ```
    import ReactDOM from "react-dom/client";
    import ProtonLoginButton from "./components/ProtonLoginButton";
    import { AuthContextProvider } from "./store/auth.context.jsx";

    ReactDOM.createRoot(document.getElementById("root")).render(

          ****

    );
    ```
3. Customize the code according to your requirements.
4. Add the following code to your header before closing the `` tag:

    ```
    **@viteReactRefresh**
    **@vite('resources/js/app.jsx')**
    ```

    Note: Make sure the `@vite('resources/js/app.jsx')` file matches the root JavaScript file you updated.
5. Place the following code where you want to add the `ProtonLoginButton` component:

    ```
    ****
    ```

    You can change the `id` attribute according to your setup in the root JavaScript file.

In the modified content, the highlighted text is denoted by the double asterisks (`**`), and the colorized text is wrapped in `` tags with inline CSS styles (`style="color: ";`). Adjust the color values as per your preference by replacing `` with the desired color (e.g., `red`, `blue`, `green`, etc.).

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80% 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/0eeb2ca0bf298527a63f2d79ebf86ffa551e5ddd4e55e8f4f2ceec4acc8a23e5?d=identicon)[raahulrathore](/maintainers/raahulrathore)

---

Top Contributors

[![Karanwebspero210](https://avatars.githubusercontent.com/u/106067040?v=4)](https://github.com/Karanwebspero210 "Karanwebspero210 (4 commits)")[![pnkjwebspero](https://avatars.githubusercontent.com/u/136070562?v=4)](https://github.com/pnkjwebspero "pnkjwebspero (1 commits)")

### Embed Badge

![Health badge](/badges/tprwt-pnkjtesting/health.svg)

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

PHPackages © 2026

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