There's some part of my project where i have some vuejs content inside of a blade template of course. But it gives me this error: " Templates should only be res
I have Laravel 5.7 project with custom login. How can I let Laravel accept three login attempts after that redirect for page waiting to 2 or 3 min, etc? public
I want to seed database when I use this public function run() { $users = factory(app\User::class, 3)->create(); } Add three user in database but wh
I am trying to send a mail using the Laravel inbuilt swift mailer but I keep getting the "Unable to connect with TLS encryption" error everytime. Below is my .e
I am trying to send a mail using the Laravel inbuilt swift mailer but I keep getting the "Unable to connect with TLS encryption" error everytime. Below is my .e
How can I create a database seeder factory for the following configuration? User // create_users_table.php Schema::create('users', function (Blueprint $table)
Illuminate\Database\Connection::runQueryCallback C:\wamp\www\LaravelProject\vendor\laravel\framework\src\Illuminate\Database\Connection.php:67
I have data with the table as follows: enter image description here In my Model: <?php namespace App; use Illuminate\Database\Eloquent\Mo
While running php artisan migrate, I got the following error [Doctrine\DBAL\DBALException] Unknown database type enum requested, Doctrine\DBAL\Platforms
Is there a way how I can change the migrations order without remaking them all? Because now I have a problem with my foreign keys -_- (working with laravel)
I want to create a whole bunch of instances of a model object in Laravel, then pick the optimal instance and save it to the database. I know that I can create
On my development server the JSON response from the Laravel 5 controller shows the data in the correct types. e.g imdb_rating: 7.6 imdb_votes: 6271 But on t
Currently, I am doing a project on laravel5. I use socialize for Facebook authentication,But I got cURL error Mentioned below. RequestException in CurlFactor
I want to change the time and date calendar to Jalali (Shamsi calendar used in Iran) in my system. How can I do this? "language_title" => "English",
I want to change the time and date calendar to Jalali (Shamsi calendar used in Iran) in my system. How can I do this? "language_title" => "English",
I'm quite new to laravel and I'm trying to update a record from form's input. However I see that to update the record, first you need to fetch the record from d
I'm, trying to format a date into (Dayname Date Month) and I'm using Carbon for this but it return an error Carbon The format separator does not match here is a
I want to have some default data accessible in all views in my Laravel 5 application. I have tried to search for it but only find results for Laravel 4. I have
I want to run multiple laravel frame work project at the same time.Exactly how to do it I dont know. I used a command : php artisan serv
I have a CentOS 6.8 w/ WHM on GoDaddy and I have a laravel application. The routes don't work, they return a 404 Not found and because of this I'm assuming it's