Bookmarks
Save projects and jobs for later reference. Bookmark buttons appear on gig listings alongside report and share buttons.
Purpose
Let users shortlist interesting projects and jobs and return to them later.
Database Schema
bookmarks table:
| Column | Type | Notes |
|---|---|---|
id | bigint PK | — |
user_id | bigint | The user who bookmarked |
identity | bigint | FK to project or job |
is_project_job | string | project or job |
created_at / updated_at | timestamps | — |
Models
App\Models\Bookmark:
- Fillable:
user_id,identity,is_project_job - Relationships:
bookmark_project()→ Project,bookmark_job()→ JobPost
Controllers
Client: App\Http\Controllers\Frontend\Client\BookmarkController
Freelancer: App\Http\Controllers\Frontend\Freelancer\BookmarkController
Both implement:
bookmark()— Add bookmark (with duplicate check)bookmark_remove()— Remove bookmark (scoped to user)
Routes
| Method | URI | Name | Role |
|---|---|---|---|
| POST | /bookmark/project-job | bookmark | Both |
| POST | /bookmark/project-job-remove | bookmark.remove | Both |
Navbar Integration
Bookmark count badge and dropdown list shown in navbar for both client and freelancer views via user-menu-for-nav-03.blade.php.
Last updated: September 2026
Still stuck?
Our support team is ready to help you get set up.

