#Show a view outside of Laravel

13 messages · Page 1 of 1 (latest)

pure scarab
#

(repost as it was closed)

Hi. I am running a Laravel project and it is running fine. However, I'd like to render a blade outside of my laravel project. I have a laravel project under subdomain.domain.com, and I'd like to show a blade page in domain.com, which contains no laravel installation.

How can it be achieved ? Thanks!

pure scarab
#

I can't save it as HTML as it running PHP scripts

wind leaf
#

Either use Laravel or don’t.

pure scarab
#

My main website on the main domain is just a static website and I just want to show that map of all flights on it

wind leaf
#

Surely that’s something you’d use JavaScript for?

#

Get flight locations via an API. Render them on a map view using JavaScript.

#

Not something you’d render as Blade and then try and include in a completely different, non-Laravel project.

pure scarab
wind leaf
#

Well you’re “solution” is far more complicated for what you need to do.