laravel-efficient-uuid | package extends the default grammar file
kandi X-RAY | laravel-efficient-uuid Summary
kandi X-RAY | laravel-efficient-uuid Summary
laravel-efficient-uuid is a PHP library. laravel-efficient-uuid has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
This package extends the default grammar file for the given MySQL connection adding an efficientUuid blueprint method that creates a binary(16) field. As of 3.0, this package no longer overrides Laravel's default uuid method, but rather adds a separate efficientUuid field, due to compatibility issues with Laravel Telescope (#11). As of 4.0, this package uses a custom cast to provide casting functionality into your models. Note: This package purposely does not use package discovery, as it makes changes to the MySQL schema file, which is something you should explicitly enable. MySQL, SQLite, and PostgreSQL are the only supported connection types, although I welcome any pull requests to implement this functionality for other database drivers. Note that doctrine/dbal does not appear to support changing existing uuid fields, and doing so would cause your existing values to be truncated in any event. For more information, check out this post on storing and working with UUID in an optimised manner. Using UUIDs in Laravel is made super simple in combination with laravel-model-uuid. Note that when using laravel-model-uuid, if you are not casting your UUIDs or calling the query builder directly, you'll need to use the getBytes method when setting the UUID on the database, otherwise your values will be truncated. Depending on your MySQL/MariaDB configuration, this may lead to application errors due to strict settings. See (#1) for more information. This package is installed via Composer. To install, run the following command.
This package extends the default grammar file for the given MySQL connection adding an efficientUuid blueprint method that creates a binary(16) field. As of 3.0, this package no longer overrides Laravel's default uuid method, but rather adds a separate efficientUuid field, due to compatibility issues with Laravel Telescope (#11). As of 4.0, this package uses a custom cast to provide casting functionality into your models. Note: This package purposely does not use package discovery, as it makes changes to the MySQL schema file, which is something you should explicitly enable. MySQL, SQLite, and PostgreSQL are the only supported connection types, although I welcome any pull requests to implement this functionality for other database drivers. Note that doctrine/dbal does not appear to support changing existing uuid fields, and doing so would cause your existing values to be truncated in any event. For more information, check out this post on storing and working with UUID in an optimised manner. Using UUIDs in Laravel is made super simple in combination with laravel-model-uuid. Note that when using laravel-model-uuid, if you are not casting your UUIDs or calling the query builder directly, you'll need to use the getBytes method when setting the UUID on the database, otherwise your values will be truncated. Depending on your MySQL/MariaDB configuration, this may lead to application errors due to strict settings. See (#1) for more information. This package is installed via Composer. To install, run the following command.
Support
Quality
Security
License
Reuse
Support
laravel-efficient-uuid has a low active ecosystem.
It has 291 star(s) with 35 fork(s). There are 8 watchers for this library.
It had no major release in the last 12 months.
There are 6 open issues and 24 have been closed. On average issues are closed in 56 days. There are 2 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of laravel-efficient-uuid is 5.0.0
Quality
laravel-efficient-uuid has 0 bugs and 0 code smells.
Security
laravel-efficient-uuid has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
laravel-efficient-uuid code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
laravel-efficient-uuid is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
laravel-efficient-uuid releases are available to install and integrate.
Installation instructions are not available. Examples and code snippets are available.
laravel-efficient-uuid saves you 41 person hours of effort in developing the same functionality from scratch.
It has 80 lines of code, 8 functions and 4 files.
It has low code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed laravel-efficient-uuid and discovered the below as its top functions. This is intended to give you an instant insight into laravel-efficient-uuid implemented functionality, and help decide if they suit your requirements.
- Register the generator .
- Set a value for a model attribute .
- Check if value passes validation .
- Get a UUID .
- Get email message .
Get all kandi verified functions for this library.
laravel-efficient-uuid Key Features
No Key Features are available at this moment for laravel-efficient-uuid.
laravel-efficient-uuid Examples and Code Snippets
No Code Snippets are available at this moment for laravel-efficient-uuid.
Community Discussions
No Community Discussions are available at this moment for laravel-efficient-uuid.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install laravel-efficient-uuid
You can download it from GitHub.
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
If you are having general issues with this package, feel free to contact me on Twitter. If you believe you have found an issue, please report it using the GitHub issue tracker, or better yet, fork the repository and submit a pull request.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page