PHPackages                             abilioj/baseurl - 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. abilioj/baseurl

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

abilioj/baseurl
===============

A simple PHP library to get the base URL of a project

v1.0.0(11mo ago)01MITPHPPHP &gt;=7.4

Since May 30Pushed 11mo agoCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Pegar a URL principal php
=========================

[](#pegar-a-url-principal-php)

Classe ideal para ajudar a pegar a url base de um projeto automaticamente independente de onde estiver instalado, esta classe se responsabiliza de obter a url base principal. foi feito um fork da classe Uri Base de Rafael Andrade | com algumas modificações e melhorias.

\#Instruções de uso

```

	Pegar a url principal php

```

como instalar

```
composer require abilioj/baseurl
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance50

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

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

Unknown

Total

1

Last Release

354d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63774e261ce5e30642989a921ab3d86908a34e1c4ae8456749a182b88c766187?d=identicon)[Abilio José Gomes Ferreira](/maintainers/Abilio%20Jos%C3%A9%20Gomes%20Ferreira)

---

Tags

urluribase url

### Embed Badge

![Health badge](/badges/abilioj-baseurl/health.svg)

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

###  Alternatives

[league/uri-components

URI components manipulation library

31932.3M67](/packages/league-uri-components)[sabre/uri

Functions for making sense out of URIs.

29335.2M40](/packages/sabre-uri)[cybercog/laravel-optimus

An Optimus bridge for Laravel. Id obfuscation based on Knuth's multiplicative hashing method.

192564.1k](/packages/cybercog-laravel-optimus)[opis/uri

Build, parse and validate URIs and URI-templates

1920.8M6](/packages/opis-uri)[ml/iri

IRI handling for PHP

276.4M6](/packages/ml-iri)[rowbot/url

A WHATWG URL spec compliant URL parser for working with URLs and their query strings.

19648.2k4](/packages/rowbot-url)

PHPackages © 2026

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