PHPackages                             lablnet/site - 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. lablnet/site

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

lablnet/site
============

PHP Site package.

1.0.1(6y ago)492MITPHPPHP ^7.1

Since Feb 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Lablnet/PHP-Site)[ Packagist](https://packagist.org/packages/lablnet/site)[ RSS](/packages/lablnet-site/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

PHP Site
========

[](#php-site)

This class can get URLs related with the current request site.

Requirement
-----------

[](#requirement)

1. PHP 7 (7.3 Recommanded).
2. Composer.

Insallation
-----------

[](#insallation)

Installing this package is very simple, first ensure you have the right PHP version and composer installed then in your terminal/(command prompt) run: ` composer require lablnet/site`

Feature
-------

[](#feature)

- Base Site URL
- Current page URL
- Redirect to other page
- Goto previous page
- Generate salts.

Example
-------

[](#example)

```
