zareismail/markable
Markable is a Laravel package for adding marks such as likes, bookmarks, or favorites to Eloquent models through polymorphic relationships. It provides simple traits and query helpers to attach, remove, and retrieve marks across your application.
composer require vendor/package:^1.0
dev-main or an untagged branch, switch the constraint to ^1.0, run composer update vendor/package --with-dependencies, and commit composer.lock.where clauses, then inspect the generated SQL and result set.$results = Model::query()
->packageScope()
->get();
composer.json.$query = Order::query()
->packageScope()
->where('status', 'paid')
->latest();
$orders = $query->paginate(25);
$query = Order::query()->packageScope();
$this->assertStringContainsString('expected_column', $query->toSql());
php artisan vendor:publish --provider="Vendor\\Package\\PackageServiceProvider"
^1.0 rather than dev-main. If you previously required an untagged branch, update your composer.json constraint deliberately.php artisan config:clear
php artisan cache:clear
composer dump-autoload
toSql(), dd(), or Laravel’s query log. Scope methods can be easy to miss in long query chains.where clauses with the package scope unless you understand the SQL semantics; duplicate filtering can produce confusing results.composer.json before upgrading. v1.0.0 may be the first properly versioned release, but it still needs to match your application’s runtime.composer.lock after upgrading and verify CI uses the same dependency resolution. This is especially important now that Composer versioning has been added.How can I help you explore Laravel packages today?