PHPackages                             dawnstar/curse - 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. dawnstar/curse

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

dawnstar/curse
==============

Laravel projeler için küfür filtresi

1.4(6y ago)11431PHP

Since Aug 23Pushed 6y ago3 watchersCompare

[ Source](https://github.com/alprnkeskekoglu/curse)[ Packagist](https://packagist.org/packages/dawnstar/curse)[ RSS](/packages/dawnstar-curse/feed)WikiDiscussions master Synced 3d ago

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

Küfür Filtresi
--------------

[](#küfür-filtresi)

Paket, string ifadelerde küfür filtresi yapılması için hazırlanmıştır. Paket dile bağlı çalışabilmektedir. Şu an da sadece Türkçe için kelime listeleri bulunmaktadır. **Paket her türlü geliştirmeye açıktır.**

- **soft.txt** isimli dosyada yer alan terimler ancak tek başına bir kelime olarak kullanıldığında filtrelenmesi gereken terimlerdir. Bir kelime içerisinde geçtiğinde filtrelenmesi gerekmeyen bir kelime olabilir.
- **hard.txt** isimli dosyada yer alan terimler ise başka herhangi bir kelime içerisinde geçse bile filtrelenmesi gereken, temiz bir kelimenin içerisinde geçme ihtimali çok zor olan terimlerdir.

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

[](#installation)

Kurmak için composer kullanılmalıdır.

```
composer require dawnstar/curse
```

Aşağıdaki satırlar `config/app.php` dosyasına eklenmelidir.

```
return [

    'providers' => [
        ...

        \Curse\Providers\CurseServiceProvider::class,
    ],

    'aliases' => [
        ...

        'Curse' => \Curse\Facades\CurseFacade::class,
    ],
];
```

Usage
-----

[](#usage)

Here are a few examples using periods

```
//Soft File dosyasının yolunu set etmeyi sağlar
//Dosyaların içindeki kelimeler satır satır ayrılmalıdır.
$curse = Curse::setSoftFile(public_path('soft.txt'));

//Filtrelenecek küfürlerin olduğu dosyaları çekmek için
$hard_file_words = Curse::getHardFile();
$soft_file_words = Curse::getSoftFile();

//Filtrelenecek text'in ve yerine yazılacak text'in set edilmesi,
//init fonksiyonu ile filtreleme gerçekleştirilir.
//init fonksiyonuna parametre verilerek ("soft" | "hard") istenilen türde filtreleme yapılabilir.
$filtered_text = Curse::setText("Filtrelenmesi istenen text")
        ->setReplacementText("***")
        ->init();
```

Note
----

[](#note)

Paket başka repository'den esinlenerek yapılmıştır. [Orjinal Paket](https://github.com/90pixel/kufur-filtresi)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 84.6% 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 ~60 days

Total

5

Last Release

2262d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/26801487?v=4)[Alperen Keşkekoğlu](/maintainers/alprnkeskekoglu)[@alprnkeskekoglu](https://github.com/alprnkeskekoglu)

---

Top Contributors

[![alprnkeskekoglu](https://avatars.githubusercontent.com/u/26801487?v=4)](https://github.com/alprnkeskekoglu "alprnkeskekoglu (11 commits)")[![mgsmus](https://avatars.githubusercontent.com/u/543371?v=4)](https://github.com/mgsmus "mgsmus (2 commits)")

---

Tags

composerfiltrekufurlaravelpaketphp

### Embed Badge

![Health badge](/badges/dawnstar-curse/health.svg)

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

###  Alternatives

[nmarfurt/measurements

A PHP library for representing and converting dimensional units of measure.

17183.8k1](/packages/nmarfurt-measurements)[strawberryfield/strawberryfield

A strawberry field for Drupal 10/11

113.3k5](/packages/strawberryfield-strawberryfield)

PHPackages © 2026

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