PHPackages                             samsonos/php\_htaccess - 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. samsonos/php\_htaccess

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

samsonos/php\_htaccess
======================

SamsonPHP htaccess creating module

011PHP

Since Dec 11Pushed 11y ago3 watchersCompare

[ Source](https://github.com/samsonos/php_htaccess)[ Packagist](https://packagist.org/packages/samsonos/php_htaccess)[ RSS](/packages/samsonos-php-htaccess/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#SamsonPHP module for automatic creating htaccess rules

\##Using module in your project To use SamsonPHP framework in your project you must add its dependency in your `composer.json`:

```
    "require": {
        "samsonos/php_htaccess": "*"
    },
```

For parsing e404 rules from your .txt file you must create configuration and call method error404()

Example usage:

```
// Create configuration class
class HtaccessConfig extends \samson\core\Config
{
    public $__module = 'htaccesscreate';

    public $domain 	= 'example.com';
}

/*
*
*
*
*/

// Call parsing method
m('htaccesscreate')->error404('myfile.txt');
```

Developed by [SamsonOS](http://samsonos.com/)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0be8756efdc8f599b8fe9261bed31570d0f140a3b921f0f891877a9133ad654c?d=identicon)[samsonos](/maintainers/samsonos)

---

Top Contributors

[![onysko](https://avatars.githubusercontent.com/u/7703953?v=4)](https://github.com/onysko "onysko (6 commits)")

### Embed Badge

![Health badge](/badges/samsonos-php-htaccess/health.svg)

```
[![Health](https://phpackages.com/badges/samsonos-php-htaccess/health.svg)](https://phpackages.com/packages/samsonos-php-htaccess)
```

###  Alternatives

[amin3520/anar

:description

272.3k](/packages/amin3520-anar)

PHPackages © 2026

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