Support the ongoing development of Laravel.io →

gclove

Joined 24 Nov 2015

Statistics

Threads 6
Replies 2
Solutions 0
Articles 0
posted 8 years ago

How to use the UrlGenerator::assetFrom() ?

When I use it in Blade template . It show me that Fatal error: Call to undefined function assetFrom...

0 Likes
2 Replies
posted 8 years ago

How to add index for { $table->timestamps(); } ?

I wanna and the index for the { $table->timestamps(); } . For quick query the some time's recor...

0 Likes
1 Replies
posted 8 years ago

How to make blade template file (foo.blade.php) can not run common php function?

// foo.balde.php {{ csrf_field() }} <?php echo 'test'; ?> // ... Others code...

0 Likes
2 Replies
posted 9 years ago

.env , How to make the project on-line.

How should I set this file ? APP_ENV=local APP_DEBUG=true

0 Likes
1 Replies

How to update database table when change the Migration ?

If I change the Migration Structure (such like CreatePasswordResetsTable) How I to change the databa...

0 Likes
5 Replies
Solved
replied 9 years ago

How do I know if there is a record id = 5 ?

gzai said: YourModel::findOrFail(5); If the condition is a EMail ? I wana use to Book query.

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.