About 12,100,000 results
Open links in new tab
  1. 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).

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

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

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

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

  7. Laravel API, how to properly handle errors - Stack Overflow

    You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation and how do I …

  8. How to force Laravel Project to use HTTPS for all routes?

    Mar 6, 2016 · HTTPS on turned out to be the only thing I needed. Instead of enforcing Laravel, this one is good and could perform better.

  9. Laravel - accessing .env variables - Stack Overflow

    Aug 23, 2018 · Laravel - accessing .env variables Asked 6 years, 10 months ago Modified 2 years, 1 month ago Viewed 30k times

  10. 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'].