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
-1
votes
1 answer

Illuminate \ Database \ QueryException (HY000) SQLSTATE[HY000]: General error: 1364 Field 'verifyToten' doesn't have a default value

I want to create and store a verify token in the database to activate the user's account after registration. But I'm getting the above error. Can you help please. Users Table Schema::create('users', function (Blueprint $table) { …
Shamima Saleem
  • 143
  • 1
  • 1
  • 9
-1
votes
1 answer

View laravel session using JavaScript

I have a session cart containing array of products and I wish to get the value of each products with price and others using JavaScript If I want to view it on my resource view blade I use my foreach loop to get each array so how can I do that and…
tony starks
  • 13
  • 1
  • 1
  • 5
-1
votes
1 answer

React-Native TypeError: Undefined is not an object (evaluating this.state.signatures.length)

I'm new in react-native I've been trying to fetch data from an API and then show them in a view. this is my code FetchSignatures.js : const URL = 'http://localhost:8000'; export default { async fetchSignatures() { try{ …
Almaida Jody
  • 558
  • 2
  • 9
  • 19
-1
votes
1 answer

Eloquent One to Many Relationship in laravel 5.7

I am trying to get data of country name so, I have two model 1)users model users: class Users extends Model { protected $fillable = ['fname','lname','email','password','address','state','city']; public function address1() { …
-1
votes
2 answers

Laravel 5.7.6 Email Authentication

I recently Installed the latest version of Laravel & used the docs to create Email Verification that comes out of the box with laravel according to this : https://laravel.com/docs/5.7/verification however, when I receive the email and click on it I…
-1
votes
1 answer

Laravel 5.7: Defining Relationships with Models having Reserved Names

I went through this post... Laravel - name a model using a reserved word But this doesn't provide a solution of defining relationships. I have a Model name Class.php And I have to Relate it with Student & ClassAllocation Here is my Relationship…
Aaryan Kapoor
  • 33
  • 1
  • 3
-1
votes
2 answers

How can I fix this error ( Laravel 5.7 )?

When I try to login ? Illuminate \ Database \ QueryException (1045) SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: select * from users where email = andro.nady2015@gmail.com limit 1)
-1
votes
3 answers

Setting a value for global variable in view that can be used in Controller Laravel 5.5

I am a beginner of Laravel. I reading the discussions on implementing global variables. But in my case, I want to set the value of the global variable from the view that can be used in the controller. My sample code in button from…
boldsinas101
  • 300
  • 2
  • 5
  • 22
-2
votes
1 answer

How to create two laravel projects (on same server) with all files shared except resources (views) folder

I want to create two laravel projects on same server with almost all files common/shared (like symlinks) except resources folder. In simple terms, I just want to create mobile site for existing desktop version. So is there any way to use all files…
-2
votes
1 answer

how to get some part string value from variable

i have this in my Controller 'thumbnail' => $request->thumbnail inside $request->thumbnail has a record http://localhost/storage/photos/1/image_name.jpg how do i get part of the $request->thumbnail like "storage/photos/1/image_name.jpg" or just…
Nana
  • 3
  • 3
-2
votes
2 answers

Please provide a valid cache path Laravel5.7

I have two document roots in my laravel project. One project is for web application and another one is for Rest API and Admin backend. My webapplication is working fine but my backend is not working at all. Neither the backend nor api are…
-2
votes
1 answer

in laravel how to search student data by ( "registor no" and "joing date" )and display student name, fname, mname, lname in view

any one guide me how to do this this is input view, output come in view like this with student data my model Student.php
user12380208
  • 519
  • 7
  • 26
-2
votes
2 answers

Table status in laravel

I would love to add a table status to my laravel table.. I want a situation where by when a table is being created,its going to have a table status ""new then after two day it's going to have a status "old"
-2
votes
1 answer

How can I solve this problem of required fields in Laravel?

When I submit the button then it's showing (name and email) is required. I have tried many times but I can't solve this problem. class ContactController extends Controller { /** * @param Request $request * …
Sagor Islam
  • 481
  • 1
  • 6
  • 11
-2
votes
2 answers

Where do i change password authentication min rule in laravel?

Here is the error, i need it to be min:4 characters not 6 and i can't find the file to change it. https://i.stack.imgur.com/oGII0.png
1 2 3
92
93