Jigsaw: Use jigsaw as a library

Created on 24 May 2020  路  4Comments  路  Source: tighten/jigsaw

Is it possible to use jigsaw as a library, e.g. in a existing Laravel project?

Most helpful comment

@Wulfheart @HeroVega It's not possible at the moment, but this is a high priority for an upcoming v2 of Jigsaw that we've begun working on ...

All 4 comments

Per this closed issue and comment by Keith, no it doesn't appear like that's on the roadmap unfortunately:

https://github.com/tightenco/jigsaw/issues/376#issuecomment-591746786

@Wulfheart @HeroVega It's not possible at the moment, but this is a high priority for an upcoming v2 of Jigsaw that we've begun working on ...

Is it possible to build my laravel (app) and jigsaw (for my docs) and then redirect any request to /docs to my jigsaw path and not to laravel?

Yes. This should be possible.
You can either configure your Webserver or configure your Laravel routing. I strongly recommend the Webserver solution as this will not add any load to the Laravel app.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

himan72 picture himan72  路  9Comments

pablood85 picture pablood85  路  8Comments

dirkolbrich picture dirkolbrich  路  13Comments

cossssmin picture cossssmin  路  12Comments

imaje89 picture imaje89  路  3Comments