About 12,100,000 results
Open links in new tab
  1. php - Clear all cache in Laravel with artisan - Stack Overflow

    Jan 7, 2021 · Clear all cache in Laravel with artisan [duplicate] Asked 4 years, 5 months ago Modified 2 years, 6 months ago Viewed 44k times

  2. 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).

  3. 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 …

  4. 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.

  5. When to generate a new Application Key in Laravel?

    Oct 27, 2015 · The steps I took to clone a laravel project required the php artisan key:generate command. I can see in my .env file that there is an updated …

  6. 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 …

  7. Eloquent: find() and where() usage laravel - Stack Overflow

    Nov 22, 2016 · Eloquent understands any of the types defined in the castAttribute() function, which as of Laravel 5.4 are: int, float, string, bool, object, array, collection, date and timestamp.

  8. 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 …

  9. 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.

  10. What is the difference between find(), findOrFail(), first ...

    All information from @Joseph Silber is correct and very useful. I want to add an answer to list () From Laravel 5.2 The list method on the Collection, query builder and Eloquent query builder …