About 41,900,000 results
Open links in new tab
  1. Get Specific Columns Using “With()” Function in Laravel Eloquent

    May 20, 2017 · 314 You can do it like this since Laravel 5.5: Post::with('user:id,username')->get(); Care for the id field and foreign keys as stated in the docs: When using this feature, you …

  2. Laravel - Eloquent "Has", "With", "WhereHas" - What do they mean?

    May 14, 2015 · 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 …

  3. laravel - How can I resolve "Your requirements could not be …

    Mar 28, 2015 · At the same time you want to install any Laravel 4.2.x version, and "zizaco/entrust" from its master branch. And that master branch requires at least Laravel 5.0 (roughly speaking).

  4. php - Laravel whereIn OR whereIn - Stack Overflow

    Mar 31, 2014 · Laravel whereIn OR whereIn Asked 11 years, 3 months ago Modified 1 year, 1 month ago Viewed 305k times

  5. How to install all required PHP extensions for Laravel?

    The Laravel server requirements specify the PHP extensions, including BCMath, Ctype, cURL, DOM, Fileinfo, JSON, Mbstring, OpenSSL, PCRE, PDO, Tokenizer, and XML, are required.

  6. php - Vite manifest not found - Stack Overflow

    Jul 20, 2022 · I'm working on a project that is using laravel 9 and Vite with laravel-vite, In the Dev environment everything works fine, but in production on the cPanel server I have the following …

  7. Laravel - Route::resource vs Route::controller - Stack Overflow

    May 7, 2014 · I read the docs on the Laravel website, Stack Overflow, and Google but still don't understand the difference between Route::resource and Route::controller. One of the answers …

  8. Laravel Redirect Back with() Message - Stack Overflow

    May 8, 2017 · The accepted answer is for use in Laravel 4 (see the question tag), the parameters for the withErrors() method in the answer is an array with two elements: ['msg', 'The Message'].

  9. laravel - First Or Create - Stack Overflow

    As of Laravel 5.3 doing this in a single step is possible; the firstOrCreate method now accepts an optional second array as an argument. The first array argument is the array on which the …

  10. Installing specific laravel version with composer create-project

    I tried laravel/laravel=5.8.38 which is a perfectly valid version and got Could not find package laravel/laravel with version 5.8.38. I dropped .38 and it went through.