#contributions

Collaborating on Laravel Scout Engine for Typesense

TLDR Jason invited contributors Abdullah and Tim for a collaboration on the Laravel Scout engine for Typesense. They discussed framework intricacies and agreed to collaborate under Typesense's GitHub organization.

Powered by Struct AI

2

1

1

22
33mo
Solved
Join the chat
Apr 26, 2021 (33 months ago)
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
03:59 PM
Alex David kevin Following up from this, are you already using Typesense with Laravel?

1

04:01
Jason
04:01 PM
There's this Laravel Scout engine that a contributor has been working on: https://github.com/devloopsnet/laravel-scout-typesense-engine

It has a few open issues: https://github.com/devloopsnet/laravel-scout-typesense-engine/issues/10
04:01
Jason
04:01 PM
Let me see if I can invite the author to the community Slack so we can collaborate
Apr 27, 2021 (33 months ago)
Alex
Photo of md5-bf7414b890b5de8dd9d0bd5bef438a50
Alex
12:23 AM
Yep, I saw this but it doesn’t seem to have had any commits for over half a year. We’re planning on replacing our client side text search in the backend CMS with a global search that’s connected to our TypeSense instance. Its currently a planned as opposed to a WIP project, but we expect to start fleshing out the project in 2-3 months
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
02:23 AM
Hey everyone, please meet Abdullah, he's the original author of the PHP library which we adopted as the official one and also the typesense laravel scout driver
Abdullah
Photo of md5-34cdef5ee27e6b9cdf46e37972a4de07
Abdullah
09:44 AM
Hello everybody, I’m ready to help in anyway possible

1

Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
06:24 PM
Abdullah Would you be open to us adopting your work on the scout driver into the Typesense github org (with attribution of course), so we can all collaborate on it together in one place, and also get more eyes on it?
Abdullah
Photo of md5-34cdef5ee27e6b9cdf46e37972a4de07
Abdullah
06:25 PM
Of course, I’m with whatever makes other developers life easier

1

06:25
Abdullah
06:25 PM
After all, I’ve only done it to give back to the community
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
06:27 PM
Awesome, thank you again for your work! Let's do a similar way as we did with the PHP client... I'll create a new repo in the typesense org and then pull from your repo into that, then I'll send a PR to your repo to add a banner to the README pointing people to the new one, I'll then add you to that repo in the typesense org, so we can continue collaborating

1

Apr 28, 2021 (33 months ago)
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
03:31 PM
Tim - welcome! Please meet the rest of the crew who have expressed interest in helping with the Laravel scout driver, along with Abdullah who is the original author
Tim
Photo of md5-34bcc5c735ede4258efc71d462d72d28
Tim
03:36 PM
👋 Specifically, I’m from the Craft CMS community, so I was planning on seeing what is happening on the Laravel side and sharing that with what we’re doing in Craft/Yii https://github.com/riasvdv/craft-scout/
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
03:40 PM
Ah got it! Forgive my noob question, but is Scout a search abstraction library in PHP that both Laravel and CraftCMS use in common, or is it just a coincidence that they share the same terminology?
Tim
Photo of md5-34bcc5c735ede4258efc71d462d72d28
Tim
04:00 PM
coincidence, kind of…it shares the name because it was inspired/ported from the Laravel version
04:00
Tim
04:00 PM
but they dont share any code.
04:01
Tim
04:01 PM
However I think they both use Fractal under the hood https://fractal.thephpleague.com/
04:03
Tim
04:03 PM
So most of the code is: using/connecting to engines (eg algolia, typesense) and integrating it into the actual app (eg Craft CMS elemnets)
04:03
Tim
04:03 PM
it would be great if there were a framework-agnostic SearchProvider interface they could both use… :thinking_face:
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
04:15 PM
I see, interesting.
04:16
Jason
04:16 PM
Isn't the Scout engine meant to be that framework-agnostic SearchProvider?
Tim
Photo of md5-34bcc5c735ede4258efc71d462d72d28
Tim
04:38 PM
I’d have to look again, but I think everything is specific to Illuminate\Database\Eloquent models, so not really agnostic
04:39
Tim
04:39 PM
but yeah, probably could be

Typesense

Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI

Indexed 3011 threads (79% resolved)

Join Our Community

Similar Threads

Collaborative Project on Laravel Scout Integration with Typesense

Joe used Typesense and Laravel to index documents quickly. He suggested adding Typesense to Laravel Scout docs. Jason agreed and asked community members for help. Abdullah volunteered to maintain the integration. Raises were raised and plans discussed, with unexpected resistance from official channels.

7

28
26mo
Solved

Incorporation of Laravel Scout Engine to TypeSense Organization

Jason and Alex discuss adopting Abdullah's Laravel Scout Engine into the TypeSense organization. Abdullah agrees, leading to Jason creating a repo within the organization and hi019 helping to complete transition tasks.

3

13
31mo
Solved

Contributing to project using JS, TS, Go and PHP

Matthew volunteered to contribute to the project using JavaScript, Typescript, Go, and PHP. Jason assigned two tasks, including Laravel integration and nest.js library. hi019 encouraged Matthew to try out the Laravel integration.

2

24
29mo
Solved

Laravel Package related Issue Resolved (`typesense/laravel-scout-typesense-driver`)

Jaeyson faced a network exception while setting up `typesense/laravel-scout-typesense-driver` on Docker. em1nos solved the issue by suggesting changing the hostname to "typesense".

3

8
19mo
Solved

Laravel Scout Update and Debugging Deletion Issue with Typesense

hi019 worked on merging Laravel Scout updates and encountered a document deletion issue due to type mismatch. Abdullah suggested a solution, which was successfully implemented. Additionally, Abdullah joined the project repo.

4

9
26mo
Solved