Questions tagged [laravel-5.7]

Laravel 5.7 is the previous stable version of the open-source PHP web framework created by Taylor Otwell. It was released on September 4, 2018. Use it in addition to the [laravel-5] tag if your question is specific to Laravel 5.7. Use the [laravel] tag for general Laravel related questions.

Laravel 5.7 is the previous stable version of Laravel 5. It was released on September 4, 2018.

What is new:

  • Email Verification
  • Guest User Gates / Policies
  • Symfony Dump Server
  • Notification Localization
  • Console Testing
  • URL Generator & Callable Syntax
  • Paginator Links
  • Filesystem Read / Write Streams

Resources:

1390 questions
-2
votes
1 answer

Laravel 5.7: Best approch do javascript block

What is the best approach to implement a custom script (modal alert - error or success) to save code and work. Custom tag, called on the blade view?
Rui Costa
  • 1
  • 3
-2
votes
1 answer

Call to undefined relationship [categories] on model [App\Category]

hello m trying to get categories/products seprately, like when i click on specific category then its related products shown: but it says: Call to undefined relationship [categories] on model [App\Category]. actually my categories starts from "8"…
pro
  • 609
  • 4
  • 17
  • 40
-2
votes
2 answers

Error: This site can’t be reached while installing laravel 5.7 on CENT OS7

I am trying to configure CENT OS 7 to deploy laravel code. I followed below approach but getting error: This site can’t be reached, took too long to respond. Below are the commands ran. 1. yum update PHP Installation 2. yum install…
Pankaj
  • 9,749
  • 32
  • 139
  • 283
-2
votes
2 answers

how to share data to all view in laravel 5.7

I have a login form. I want when user login success, my controller will select data of this user and share to all view. I read laravel docs. [This][1] advises me to use the "View::share('key', 'value');" in boot method of AppServiceProvider, but i…
The Manh Nguyen
  • 406
  • 6
  • 19
-2
votes
1 answer

Stuck at laravel blade

I am getting a trouble in laravel. I have a template which works. But at blog page, when i try to pass id to see the specific blog, the template doesn't recognize links and scripts that are inherited from master page. Style disappears when passing…
alphal
  • 149
  • 3
  • 3
  • 14
-3
votes
1 answer

I have a Laravel error and I can't find anything in this code

I'm using Laravel 5.7 and I am getting errors in this code. CustomersController.php
-3
votes
1 answer

is there any way to store foreach value in database

I am trying to store view foreach value in database using controller Is there any other way to store value by controller without view foreach View @foreach ($ticket_details as $key=>$ticket_detailss)
  • Ramu Ramu
    • 27
    • 2
    • 13
  • -3
    votes
    1 answer

    How to manipulate data being passed to Model::find dynamically?

    My Issue Imagine you have the following columns: ai - auto incrementing ref - ABC (ai but with a prefix) Now, in the Model, the primary key is ai, however, throughout the application when passing query parameters or as a post variables through…
    Script47
    • 14,230
    • 4
    • 45
    • 66
    -3
    votes
    3 answers

    How to return table data from home view Laravel 5.7

    I'm sure this is a novice question, but troubling me for awhile now. I have a testimonials table and I'm trying to output a few testimonials on the home page. This is what I have going on. Route:(web.php) Route::get('/', function () { return…
    daugaard47
    • 1,726
    • 5
    • 39
    • 74
    -4
    votes
    1 answer

    How i can Add Metas like as Title, Description, Keywords in my laravel5.7 Website

    I want different title, description and keywords on each and every product page and category page in my laravel website. How can I make my website seo friendly to do this? I am using laravel 5.7.
    Robot
    • 76
    • 1
    • 9
    1 2 3
    92
    93