laravel-optimus
request-factories
laravel-optimus | request-factories | |
---|---|---|
2 | 2 | |
180 | 588 | |
0.6% | 0.3% | |
5.3 | 5.0 | |
about 2 months ago | 3 months ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laravel-optimus
-
Alternative for UUIDs for auto-generated IDs?
https://github.com/cybercog/laravel-optimus Optimus generates short, unique, non-sequential ids from numbers. With this library, you can transform your internal id's to obfuscated integers based on Knuth's integer hash. It is similar to Hashids, but will generate integers instead of random strings. It is also super fast.
-
API: external UUID to internal ID in validation or controller or ?
See also: https://github.com/cybercog/laravel-optimus/issues/29
request-factories
- how to fake a response of an external server/api for a laravel feature test?
-
Presenting Request Factories, a package to make request testing even better! (Link in description)
Hi all! Here’s the link: https://github.com/worksome/request-factories I’m pleased to announce the release of “Request Factories by Worksome”, a package designed to make testing requests in Laravel beautiful. No more repeating the same required fields across requests; request factories moves all of that boilerplate to a powerful factory class and allows your tests to stay focused and purposeful. I created an in-depth blog post all about it which you can read here: https://downing.tech/posts/using-request-factories-for-gorgeous-feature-tests Hope you enjoy it. Keep on being awesome!
What are some alternatives?
hashids - A small PHP library to generate YouTube-like ids from numbers. Use it when you don't want to expose your database ids to the user.
comments - Native comments for your Laravel application.
Optimus - 🤖 Id obfuscation based on Knuth's multiplicative hashing method for PHP.
laravel-messenger - Simple user messaging package for Laravel
laravel-hashids - A Hashids bridge for Laravel
Pest - Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.
laravel-package-tools - Tools for creating Laravel packages
laravel-love - Add Social Reactions to Laravel Eloquent Models. It lets people express how they feel about the content. Fully customizable Weighted Reaction System & Reaction Type System with Like, Dislike and any other custom emotion types. Do you react?
archetype - Edit PHP files programmatically
laravel-snowflake - This Laravel package to generate 64 bit identifier like the snowflake within Twitter.
phiremock - Phiremock mocks HTTP requests and REST services, allowing to mock external services during acceptance testing.