Laravel

Category

9 posts found

14 Jul 2018
64
No Comments
Laravel 5 upload files to Dropbox free storage

Some of Storage services are not free like amazon s3 or cloud, and I was also wanted to get free storage, I found #Dropbox which is providing 5GB free space. Before starting this tutorial you must have following requirements. Requirements PHP version 7.1 or 7.2 or 7.+ Laravel latest framework

Post in

11 Mar 2018
92
No Comments

This error occurred if your server is running on 5 or less version of PHP, for the fixing that problem you need to contact with your hosting support team or change PHP version from cpanel. Solution: Change your PHP version from Cpanel Select PHP version from cpanel php changing version

Post in

21 Jun 2017
0.98K
No Comments
Laravel custom columns login authentication

Laravel provide a great solution for login authentication, in sometimes we have typically a database table with custom table name  eg: student, customer, employee, and custom login columns eg:student_id, customer_id, employee_id but the default in Laravel authentication only use id, login and password columns. To get install laravel from composer

Post in

7 Jun 2017
0.49K
3 Comments

This is weird thing from #laravel on fresh installation, so everyone wants to remove public from url, there are two different methods. 1. Method is remove public from url in #.htaccess Create .htaccess file on main directory of laravel and put the following code 2. Method is remove public url

Post in

27 May 2017
0.64K
No Comments

Undefined index error occurred when you are using custom login with custom columns default #laravel use password column eg: you have defined column just like entity_password  in database and you have passed in $credential array for auth()->guard(); This is wrong for login auth Just you have to change key from entity_password

Post in

8 Oct 2015
2.84K
No Comments

If hacker needs to get your absolute path they easily can go to any core file by direct access like showed in below, DIRECT ACCESS ANY CORE FILE OF LARAVEL domain.com/app/controllers/HomeController.php laravel-APP-Path/tests/TestCase.php Fatal Error: Class ‘Illuminate\Foundation\Testing\Testcase’ not found in laravel-APP-Path/tests/TestCase.php on line 3 DIRECT ACCESS LARAVEL HOME CONTROLLER domainname.com/laravel-APP-Path/controllers/HomeController.php Fatal Error:

Post in

4 Jun 2015
2.85K
1 Comment

Sometimes laravel set the new or update session in ajax requestion even you can print it like Session::all(); it will print the updated session but cannot update the session on fresh page, for eg. if a user update his information like display name picture or other information through ajax. In

Post in

7 Apr 2015
0.39K
No Comments

This is default simple documentation of #laravel to send mail but problems is that this is static mail passed in parameter to(‘foo@sdtuts.com’) We also need to pass the dynamic email, for example we used it for user registration steps to sent mail for activation it that time we need dynamic

Post in