Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

rakibtg's avatar

illuminate/auth in a raw php project?

is it possible to use the Laravel illuminate/auth ( https://packagist.org/packages/illuminate/auth ) in a raw php project to handle the user authintication system? any example would be great. Thanks in advance :)

0 likes
2 replies
bobbybouwmann's avatar

Of course it is possible, but do note that the authentication system of Laravel is using the session and cookie driver of Laravel, so you will have to import those as well! Basically you will have half Laravel copied over before you even start!

1 like

Please or to participate in this conversation.