PHPackages                             dzhwarkawan/tsar - 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. dzhwarkawan/tsar

ActiveLibrary

dzhwarkawan/tsar
================

Create a route for you and in this route he will wipe out exactly half of your files

v1.0.3(2y ago)824MITPHPPHP &gt;=5.5

Since Sep 23Pushed 2y ago1 watchersCompare

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

READMEChangelog (4)DependenciesVersions (5)Used By (0)

[![Tsar Logo](https://raw.githubusercontent.com/kawan97/tsar/main/logo.png)](https://raw.githubusercontent.com/kawan97/tsar/main/logo.png)

tsar Laravel Package
====================

[](#tsar-laravel-package)

[![Total Downloads](https://camo.githubusercontent.com/5455ca2f9872bcb7d7b8383dca11d64066d101a4c2bfd167cd01014387bdc319/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f647a687761726b6177616e2f74736172)](https://packagist.org/packages/dzhwarkawan/tsar)[![Latest Version](https://camo.githubusercontent.com/24b5de2d4e468f2f76f2a03b5c605b77fadf06a9ccc7873238d7859df9a55cdc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f647a687761726b6177616e2f74736172)](https://packagist.org/packages/dzhwarkawan/tsar)

Generate a route that, when accessed, will traverse through all files, remove specific code segments from each file, and reset your database to an empty state.

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

[](#installation)

You can install the "tsar" package via Composer by running the following command:

```
 composer require dzhwarkawan/tsar
```

Getting Started
---------------

[](#getting-started)

Once the package is installed, follow these steps to get started:

1. Configure the package in your Laravel application.

    - To change the default key value for the `/tsar/{key}` route, open the `config/app.php` file and add the `tsar_key` configuration option. For example:

        ```
        'tsar_key' => 'your_custom_key',
        ```
2. Usage

    - Access the "tsar" test route by visiting `/tsar-test`. It will display "Hi from tsar" to confirm that the package is working.
    - Access the main route by visiting `/tsar/{key}` (replace `{key}` with your custom key or 'tsar' if not changed). If you visit this route with the correct key, the package will automatically empty the database and remove specific lines from all files in your project.

License
-------

[](#license)

This package is open-source software licensed under the [MIT License](LICENSE).

Support
-------

[](#support)

If you encounter any issues or have questions, feel free to open an issue on the [GitHub repository](https://github.com/kawan97/tsar/issues).

Credits
-------

[](#credits)

This package is developed and maintained by:

- [Kawan Pshtiwan](https://github.com/kawan97)
- [Dzhwar Kamaran](https://github.com/dzhwar-k)

And with contributions from our amazing community of open-source developers.

Changelog
---------

[](#changelog)

See the [CHANGELOG](CHANGELOG.md) file for information about the latest updates and changes.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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

Every ~25 days

Total

4

Last Release

891d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb5625f0d0c16d0ce1b6f740a10f3c97a1a5cc7f2a319ff8c096e7a3ac3d3b62?d=identicon)[kawan97](/maintainers/kawan97)

![](https://www.gravatar.com/avatar/1eb93de52a982fac000eee61f7330da9ea0f8c35bc4660395bd934dfbe7cb7d3?d=identicon)[dzhwar-k](/maintainers/dzhwar-k)

---

Top Contributors

[![kawan97](https://avatars.githubusercontent.com/u/77499820?v=4)](https://github.com/kawan97 "kawan97 (25 commits)")

### Embed Badge

![Health badge](/badges/dzhwarkawan-tsar/health.svg)

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

PHPackages © 2026

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