Support the ongoing development of Laravel.io →

brendantwhite

Joined 9 Mar 2014

Statistics

Threads 2
Replies 4
Solutions 0
Articles 0
posted 9 years ago

How to generate www.example.com/cal/john/smith/35 not www.example.com/cal?john&smith&35

I want to generate a URL like http://www.example.com/ical/john/smith/35 in Laravel 5, so I did this:...

0 Likes
3 Replies
posted 9 years ago

How to get assets via either HTTPS or HTTP automatically, depending on how the page was served?

So I'm sometimes developing at home on my vagrant homestead box (which is HTTP) and sometimes on the...

0 Likes
3 Replies
replied 9 years ago

How to generate www.example.com/cal/john/smith/35 not www.example.com/cal?john&smith&35

barisbora said: you can use like this; (snip) Cool, thanks. I'll give this a go when I get home.

0 Likes
replied 9 years ago

How to generate www.example.com/cal/john/smith/35 not www.example.com/cal?john&smith&35

At the moment I'm just doing $theUrl = action('CalController@index') . '/' . $first . '/' . $last ....

0 Likes
replied 9 years ago

How to get assets via either HTTPS or HTTP automatically, depending on how the page was served?

I guess I could put APP_SECURE=true or APP_SECURE=false in my .env file, and reference that in ever...

0 Likes
replied 10 years ago

Schema ->default() for date -> NOW() ?

leesherwood said: [ snip ] You cannot use "default to current date" in MySQL for anythin...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.