PHPackages                             nathanmac/laravel-guid - 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. nathanmac/laravel-guid

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

nathanmac/laravel-guid
======================

Simple GUID generator Package for Laravel 4

105.7k↓50%2[2 issues](https://github.com/nathanmac/laravel-guid/issues)PHP

Since Jan 14Pushed 10y ago2 watchersCompare

[ Source](https://github.com/nathanmac/laravel-guid)[ Packagist](https://packagist.org/packages/nathanmac/laravel-guid)[ RSS](/packages/nathanmac-laravel-guid/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-guid
============

[](#laravel-guid)

[![Build Status](https://camo.githubusercontent.com/69061fcef51f45eebb4a8ea1e556c643f89c0442d2b96dfb6a35cc4af11014eb/68747470733a2f2f7472617669732d63692e6f72672f6e617468616e6d61632f6c61726176656c2d677569642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nathanmac/laravel-guid)[![Still Maintained](https://camo.githubusercontent.com/341b258647d8394141ca5bcc42b3613535cbbbaf7149e16c3095383963fd2daf/687474703a2f2f7374696c6c6d61696e7461696e65642e636f6d2f6e617468616e6d61632f6c61726176656c2d677569642e706e67)](http://stillmaintained.com/nathanmac/laravel-guid)

Simple GUID generator Package for Laravel 4

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

[](#installation)

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `Nathanmac/laravel-guid`.

```
"require": {
	"nathanmac/laravel-guid": "dev-master"
}

```

Next, update Composer from the Terminal:

```
composer update

```

Once this operation completes, the final step is to add the service provider. Open `app/config/app.php`, and add a new item to the providers array.

```
'Nathanmac\GUID\GUIDServiceProvider'

```

##### Generate GUID

[](#generate-guid)

```
echo "GUID: " . GUID::generate(); // GUID: 582B5733-8AE1-79D2-DB8F-5720ECBE4306
```

##### Generate GUID with a salt value

[](#generate-guid-with-a-salt-value)

```
echo "GUID: " . GUID::generate('custom salt value'); // GUID: 582B5733-8AE1-79D2-DB8F-5720ECBE4306
```

##### Generate GUID with braces

[](#generate-guid-with-braces)

```
echo "GUID: " . GUID::generate(false, true); // GUID: {582B5733-8AE1-79D2-DB8F-5720ECBE4306}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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/e938d7304b579f1f6ba7895dcee6b7b95eeb7f7aed77be6e4bcce777eb9e0245?d=identicon)[nathanmac](/maintainers/nathanmac)

---

Top Contributors

[![martinlindhe](https://avatars.githubusercontent.com/u/181531?v=4)](https://github.com/martinlindhe "martinlindhe (1 commits)")[![nathanmac](https://avatars.githubusercontent.com/u/3205902?v=4)](https://github.com/nathanmac "nathanmac (1 commits)")

### Embed Badge

![Health badge](/badges/nathanmac-laravel-guid/health.svg)

```
[![Health](https://phpackages.com/badges/nathanmac-laravel-guid/health.svg)](https://phpackages.com/packages/nathanmac-laravel-guid)
```

###  Alternatives

[cerdic/css-tidy

CSSTidy is a CSS minifier

2092.0M6](/packages/cerdic-css-tidy)[lochmueller/calendarize

Create a structure for timely controlled tables (e.g. events) and one plugin for the different output of calendar views (list, detail, month, year, day, week...). The extension is shipped with one default event table, but you can also 'calendarize' your own table/model. It is completely independent and configurable! Use your own models as event items in this calender. Development on https://github.com/lochmueller/calendarize

77152.6k12](/packages/lochmueller-calendarize)[sitegeist/kaleidoscope

Responsive-images for Neos

29352.4k10](/packages/sitegeist-kaleidoscope)[jurchiks/numbers2words

It spells numbers (and currencies)!

20172.1k3](/packages/jurchiks-numbers2words)[giauphan/laravel-qr-code

QR Code Generator for PHP wrapper for Laravel

2765.4k1](/packages/giauphan-laravel-qr-code)[syholloway/mrcolor

Color manipulation tools and format conversion for PHP

14149.6k](/packages/syholloway-mrcolor)

PHPackages © 2026

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