Stormlight
Stormlight's Comments
-
- Lounge
- The Waterhole stack
-
- Lounge
- The Waterhole stack
In reply to TobyToby Waterhole FounderJul 10, 2024 @Manoj Hotwire and Livewire are both great, but they are quite different approaches to building Laravel apps. Hotwire is an approach to progressive enhancement. You are basically just building a trad...@Toby I'm currently using Livewire alongside Waterhole but after reading this, I am considering switching to Hotwire.
I started my project off with the Waterhole Skeleton Repo (composer create-project waterhole/waterhole), and I was considering installing Turbo-Laravel as a package rather than relying on the version Waterhole/core is using (so I could update to the latest version of Turbo-Laravel faster than relying on Waterhole updating it's dependencies).
My question is, do you think that's a wise idea? My concern is that having two versions of Hotwire could cause issues.
-
- Ideas
- WordPress Login
The other day I saw a post on reddit mentioning that laravel can be integrated within Wordpress using https://roots.io/acorn.
I haven't personally used this but maybe it might help integrate Waterhole into your Wordpress installation and using a SSO provider like Toby mentioned above for authentication.
-
- Development
- Laravel Integration
In reply to TobyToby Waterhole FounderApr 30, 2024 > Is there any way we can add traits to the Waterhole\Models\User class in a similar way as adding relationships via the resolveRelationUsing method? Unfortunately I don't think it's currently possib...Sounds good, for now I'll just create another user and implement traits on that model. I'll try out the code snippet you posted above as well, thanks!
-
- Support
- Open Source or Source Available?
In reply to HellasHellasMay 2, 2024 Then that is not the open source by definition. https://opensource.org/osd I understand what you want to say but that's "source-available" not "open source". Technically in literal sense open-source...Yeah, I've seen that reddit thread before and I don't think what I've written above is incorrect. One of the commenters mentions this:
The above commenter is mistaking Free and Open Source Software (FOSS) and Open Source. You can have open source software without giving up the copyright/licensing, which is what your product is.
and then Toby commented:
That's what I originally thought too. It would seem it depends where you look. The official Open Source definition requires freedom. This GNU article acknowledges that it is easy to misunderstand because of the natural meaning of the words "open source".
So I guess it's not very clearly defined as to what open source could mean.
-
- Support
- Open Source or Source Available?
But you are free (not in the monetary sense) to modify and redistribute Waterhole, you just have to abide by what's stated in the licence.
So, in the case of redistribution, you're free to do that, provided that you pay Waterhole for every licence that you give out.
Section 6 of the Waterhole licence
(e) a Licensee or Authorised User making the Software available to third parties via a Software-as-a-Service (SaaS) offering, provided that a separate Production Licence is purchased for each separate project or separate client. -
- Support
- Open Source or Source Available?
I think it's a common misconception that open source equals free (monetary), it does not, though it can be free of cost.
-
- Support
- Open Source or Source Available?
The code is available for everyone to see on GitHub, so that makes it open source.
-
- Showcase
- Blank Page Cafe
In reply to RenéRenéSep 18, 2023 Thanks @Subarist, I'm glad you liked it and appreciate you for the mention :)@René Hey, what are the specs of the VPS (or whatever service is being used) your waterhole installation is running on? Everything on your forums runs very fast/snappy, just curious about the server specs.
-
- Development
- Storage Options (s3 etc)
Awesome, thanks Toby!
-
- Ideas
- Support for Laravel 11?
In reply to TobyToby Waterhole FounderApr 21, 2024 No it was released on 16 April! Maybe try clearing your Composer cache with composer clear-cache?I think I figured out the issue,
waterhole/core
requires a beta version ofturbo-laravel
:waterhole/core v0.4.8 requires hotwired-laravel/turbo-laravel ^2.0.0-beta5 -> found hotwired-laravel/turbo-laravel[2.0.0-beta5, 2.x-dev] but it does not match your minimum-stability.
Also, the Waterhole Starter Skeleton project has the following in the composer.json:
"minimum-stability": "stable", "prefer-stable": true
Is there any risk of switching minimum stability to beta? That was the only way I was able to update the Waterhole Starter Skeleton project.
-
- Ideas
- Support for Laravel 11?
In reply to TobyToby Waterhole FounderApr 16, 2024 Laravel 11 support has been added in 0.4.8 @Ryan Pitts Hopefully you're able to switch back over to the official package - let me know if any issues. But for future reference, the command to compi...Hey Toby, I'm assuming 0.4.8 is yet to be released? As
composer update
doesn't pull in that version nor does starting a new project viacomposer create-project waterhole/waterhole path/to/forum
. -
- Development
- Laravel Integration
In reply to TobyToby Waterhole FounderApr 11, 2024 Yep, that's right about conditional rendering - there's a note on this in the Extenders doc. The way you've done it works well, or an alternative would be to replace the search component with a closur...Also, regarding conditional rendering, the use of a closure doesn't seem to work with the Extend
remove
method as it only accepts a string param. Is this method going to be updated in the future to allow for mixed content instead of only strings? I was trying to conditionally remove some of the buttons in the text editor but it seems they are hard coded, so using thereplace
method wasn't viable (source code). -
- Development
- Laravel Integration
In reply to TobyToby Waterhole FounderApr 11, 2024 Yep, that's right about conditional rendering - there's a note on this in the Extenders doc. The way you've done it works well, or an alternative would be to replace the search component with a closur...Ahhh, I see, the alternative you've provided with the closure looks cleaner , thanks! I shouldn't have missed that in the docs .
Okay, that makes sense, I'll use the
resolveRelationUsing
method for adding relationships. Is there any way we can addtraits
to theWaterhole\Models\User
class in a similar way as adding relationships via theresolveRelationUsing
method? I wanted to use this Laravel package, Overtrue\LaravelFavorite, but it requires the use oftraits
on the User model. I want to use this package to allow users to favourite my own models. -
- Development
- Authentication w/ existing Laravel app
In reply to TobyToby Waterhole FounderMar 25, 2024 Ah, I see - that link is a part of Waterhole by default so I wasn't sure if it was the one you were talking about. But, it only shows up if there is a route named waterhole.register - and if you have...Hey @Toby, for the Laravel Integration portion of the docs, maybe you could add a step to create a symbolic link from
public/storage
tostorage/app/public
by running the command below. Otherwise the js/css files won't load when visiting the waterhole portion of the application.php artisan storage:link
I wasn't sure where to post this as I can't submit changes to the docs.
Okay, that makes sense, thanks!