Global web icon
stackoverflow.com
https://stackoverflow.com/questions/tagged/laravel
Newest 'laravel' Questions - Stack Overflow
I am using the laravel-localization package to localize my Laravel app. It works perfectly normal on local enviroment (using php artisan serve) and on shared hosting with Apache.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/22758819/larav…
php - Laravel whereIn OR whereIn - Stack Overflow
48 You have a orWhereIn function in Laravel. It takes the same parameters as the whereIn function. It's not in the documentation but you can find it in the Laravel API. See the Laravel 11 orWhereIn documentation. That should give you this:
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/16995102/larav…
Laravel Eloquent Query: Using WHERE with OR AND OR?
Laravel Eloquent Query: Using WHERE with OR AND OR? Asked 12 years, 6 months ago Modified 1 year, 3 months ago Viewed 739k times
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/19852927/get-s…
Get Specific Columns Using “With()” Function in Laravel Eloquent
28 If you want to get specific columns using with() in laravel eloquent then you can use code as below which is originally answered by @Adam in his answer here in response of this same question, the answer's main code is as below :
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/30231862/larav…
Laravel - Eloquent "Has", "With", "WhereHas" - What do they mean?
I've found the concept and meaning behind these methods to be a little confusing, is it possible for somebody to explain to me what the difference between has and with is, in the context of an exam...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/30287896/rollb…
Rollback one specific migration in Laravel - Stack Overflow
6 LARAVEL 10 has a --batch option. See php artisan migrate:rollback --help: --batch=BATCH - The batch of migrations (identified by their batch number) to be reverted If you used --step in your php artisan migrate, your migration batch will be unique, so you can specifiy exactly which ONE migration to rollback. If your php artisan migrate:status is:
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/16815551/how-t…
How to do this in Laravel, subquery where in - Stack Overflow
That comes close, and i've been puzzeling with similar queries for some time now. But where_in (laravel 3) requires 2 arguments, the second one being an array. Any idea how to get this right? Also, I don't think laravel 3 supports the from method.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/30046691/larav…
Laravel: How to Get Current Route Name? (v5 ... v7)
In Laravel v4 I was able to get the current route name using... Route::currentRouteName() How can I do it in Laravel v5 and Laravel v6?
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/23754260/insta…
Installing specific laravel version with composer create-project
composer create-project laravel/laravel your-project-name --prefer-dist But, when you run the above command, it will grab the latest version of Laravel. How can I control it if I want to install latest version of 4.0.x? Or, 4.1.x when 4.2 is out?
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/30639174/how-t…
How to set up file permissions for Laravel? - Stack Overflow
Laravel may require some permissions to be configured: folders within storage and vendor require write access by the web server. Does it mean that the web server needs access to the storage and vendor folders themselves too or just their current contents? I assume that what is much better, is changing the owner instead of permissions.