Sprout for Laravel

Sprout for Laravel

@sprout.ollieread.com

Multitenancy for your Laravel application. Sprout is an easy to use multitenancy solution that integrates seamlessly with your Laravel application, while remaining flexible. #laravel #multitenancy By @ollieread.com https://sprout.ollieread.com

84 followers4 following40 posts

I'm pretty confident that I've found a way to make Sprout support the following data-isolation approaches: ✅ Separate instance ✅ Shared instance ✅ Separate schemas ✅ Partitioning ✅ Discriminator ✅ Row-level-security In ANY combination, with different approaches per tenant! #multitenancy #laravel

The next part of Sprouts development will be the add-on Bud, which adds support for runtime resolved tenant-specific configuration. It comes with implementations for: - Auth Providers - Database Connections - Cache Stores - Filesystem Disks - and more #laravel #multitenancy

Once that is complete, Seedling can be finished. Seedling comes with multi-database specific functionality, building on top of Bud's tenant-specific database-connections, by adding migration, seeding, and database creation support. #laravel #multitenancy

The third core add-on is Terra, which adds not only tenant-specific domain support, but a handful of supporting functionality for managing domains and SSLs. It doesn't rely on Bud or Seedling. #laravel #multitenancy

Sprout for Laravel reposted

I'm happy with the design for the Sprout site, but I'm not 100% sold on the content of the site. I think it needs more, but I'm really not a "marketing" content person. Anyone have any suggestions? sprout.ollieread.com

I know this means it'll be the same day as Laravel 12 and Laravel Cloud, but I'd have to postpone like a month for the hype and excitement to die down! 😂 Sprout will be Laravel 12 compatible, and should, in theory, work with Cloud out-of-the-box.

Sprout for Laravel reposted

I'm going to be honest. I've really outdone myself with @sprout.ollieread.com. I've just created a demo app to show someone how quick it is to set up and configure, and, the actual Sprout part was like 3 minutes. IF THAT!

Right! I'm confident that's enough for the unit tests, now that the service override refactor has been merged in. All that's left now, are the feature tests, updating the docs, and then it's release time! #multitenancy #laravel

Fun fact, the core Sprout package is currently about 13,400 lines long, which works out as… 4800 lines of comments 4600 lines of code 4000 lines of tests That's only 70% coverage and doesn't involve feature tests! #multitenancy #laravel #opensource

Hello all! I am still working away on Sprout, with the refactors mostly completed, and all focus now on writing tests, both unit and feature! I know it's taking time, but having a robust test suite is crucial! #multitenancy #laravel

Sprout for Laravel reposted

Morning all, and happy new year! I'm back working today, which also means I'll be able to get the last bits for @sprout.ollieread.com finished, and finally make a v1.0.0-stable release! (I can also get started on Seedling, Terra and Bud, the addons) #multitenancy #laravel

Redoing the tests for Sprout is coming along! I've decided to separate the tests out into unit tests and feature tests, as about a third of the package can't really be tested without a Laravel installation. #multitenancy #laravel #opensource #testing

Sprout for Laravel reposted

I've been so ill I've not even been able to sit at my desk for the last week. So today, to get myself back into everything, I'm going to build something different and fun! I will be continuing with the @sprout.ollieread.com docs asap, but I need something else for now.

Just so everyone is aware, the Sprout package is okay to use if you want to start playing with it. I know some people are waiting for a release, but I would rather not release until the testsuite is complete, or the docs are more complete. #laravel #multitenancy

Someone who is currently helping out with beta testing sprout encountered a bug. Sprout didn’t differentiate between tenanted and non-tenanted routes for things like service overrides. This has since been fixed, but it’s given me the idea of introducing deferrable service overrides.

You are up to date.