2017 © Pedro Peláez
 

library guid

A Simple GUID generator Package for PHP.

image

sudiptpa/guid

A Simple GUID generator Package for PHP.

  • Tuesday, April 17, 2018
  • by sudiptpa
  • Repository
  • 1 Watchers
  • 5 Stars
  • 3,812 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 8 Versions
  • 36 % Grown

The README.md

A Simple GUID creator package for PHP.

This package is useful for creating globally unique identifiers (GUID). It's under MIT license so it's free for everyone., (*1)

StyleCI Latest Stable Version Total Downloads License, (*2)

Installation

You can install the package via composer: Composer., (*3)

composer require sudiptpa/guid

If you want to use this package with Laravel v4.2 stick with the backward version v0.0.1 in your composer.josn file., (*4)

"sudiptpa/guid": "v0.0.1"

Usage

Laravel

To consume the this package from Laravel application, register the package service provider within your config/app.php file., (*5)

'providers' => [
    Sujip\Guid\GuidServiceProvider::class,
]

'aliases' => [
   'Guid' => Sujip\Guid\Guid::class,
]

If you are a Laravel v5.5 user, this package has been configured for discovery, Laravel will automatically register its service providers and facades when it is installed, creating a convenient installation experience for you., (*6)

Create GUID

echo "GUID: " . Guid::create(); //example output : 2b23924f-0eaa-4133-848e-7ce1edeca8c9

echo "GUID: " . guid(); // example output: 2b23924f-0eaa-4133-848e-7ce1edeca8c9

Outside Laravel


require __DIR__ . '/vendor/autoload.php'; $guid = new \Sujip\Guid\Guid; echo $guid->create(); ```` ### Output ```php //Example: 2b23924f-0eaa-4133-848e-7ce1edeca8c9

Changelog

Please see CHANGELOG for more information what has changed recently., (*7)

Contributing

Contributions are welcome and will be fully credited., (*8)

Contributions can be made via a Pull Request on Github., (*9)

Support

If you are having general issues with the package, feel free to drop me and email sudiptpa@gmail.com, (*10)

If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request., (*11)

License

The GUID package is open-sourced software licensed under the MIT license., (*12)

The Versions

17/04 2018

dev-master

9999999-dev

A Simple GUID generator Package for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

guid

10/10 2017

0.0.1.x-dev

0.0.1.9999999-dev

A Simple GUID generator Package for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

guid

10/10 2017

v0.0.1

0.0.1.0

A Simple GUID generator Package for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

guid

06/10 2017

1.0.4

1.0.4.0

A Simple GUID generator Package for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

guid

06/10 2017

1.0.3

1.0.3.0

A Simple GUID generator Package for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

guid

06/10 2017

1.0.2

1.0.2.0

A Simple GUID generator Package for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

guid

06/10 2017

1.0.1

1.0.1.0

A Simple GUID generator Package for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

guid

06/10 2017

1.0.0

1.0.0.0

A Simple GUID generator Package for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

guid