New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

someonefamous/laravel-findby

Extended 'find' functionality for Eloquent (Laravel).
11,661 3

Larablocks Analysis

someonefamous/laravel-findby works with Laravel 5 to 8 (latest release 2.2.5, Mar 15, 2021), all past end of life (the last on Jan 24, 2023): no more fixes, even for security.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5 to 8, past end of life since Jan 24, 2023
  • No release in the last 12 months (last: Mar 15, 2021)
  • 3 downloads a month (needs 10,000)
  • 3 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Mar 15, 2021.
  • No releases in the last 12 months.
  • First released: Feb 7, 2020.
  • Monthly downloads: 3.
  • 2 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.

Install
composer require someonefamous/laravel-findby
Latest Version:2.2.5
PHP:>=7
Laravel:5 – 8
License:MIT
Last Updated:Apr 19, 2023
Links: GitHub  ·  Packagist
Maintainer: someonefamous

laravel-findby

Extended 'find' functionality for Eloquent (Laravel).

Enables writing queries like $that_smith_guy = User::findByLastName('Smith'), rather than the longer, but equivalent $that_smith_guy = User::where('last_name', 'Smith')->first().

Also, $all_the_bobs = User::findAllByFirstName('Bob') rather than $all_the_bobs = User::where('first_name', 'Bob')->get().

The command can be used for any arbitrary [snake-cased] field name. e.g. Item::findByArbitraryFieldName('example') is functionaly equivalent to Item::where('arbitrary_field_name', 'example')->first().

To use, simply add use SomeoneFamous\FindBy\Traits\FindBy; to any Eloquent model:

...

use SomeoneFamous\FindBy\Traits\FindBy;

class Thing extends Model
{
    use FindBy;

...

Related Packages

yadakhov/insert-on-duplicate-key

A trait for MySQL INSERT ON DUPLICATE KEY UPDATE.

3,149,973 275
audunru/eager-load-pivot-relations

Eager load pivot relations for Laravel Eloquent's BelongsToMany relation.

81,294 9
vluzrmos/eloquent-simple-searchable

An Eloquent Simple Searchable Scope.

216 2
atoms/database-illuminate

Illuminate bridge for Atoms: the Laravel query builder and Eloquent models again...

63 0
hpolthof/laravel-eloquent-settings

Allow for dynamic blobbed settings in Eloquent models.

52 1

Version History

Version Released PHP Laravel License
2.2.5 >=7 >=5 MIT
2.2.4 >=7 >=5 MIT
2.2.3 >=7 >=5 MIT
2.2.2 >=7 >=5 MIT
2.2.1 >=7 >=5 MIT