centrex/laravel-uuid

Add uuid with model in laravel

v1.0.2 2024-01-03 07:10 UTC

This package is auto-updated.

Last update: 2024-11-20 14:02:49 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Contents

Installation

You can install the package via composer:

composer require centrex/laravel-uuid

You can publish and run the migrations with:

php artisan vendor:publish --tag="laravel-uuid-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="laravel-uuid-config"

This is the contents of the published config file:

return [
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="laravel-uuid-views"

Usage

$laravelUuid = new Centrex\LaravelUuid();
echo $laravelUuid->echoPhrase('Hello, Centrex!');

Testing

๐Ÿงน Keep a modern codebase with Pint:

composer lint

โœ… Run refactors using Rector

composer refacto

โš—๏ธ Run static analysis using PHPStan:

composer test:types

โœ… Run unit tests using PEST

composer test:unit

๐Ÿš€ Run the entire test suite:

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.