Top "Laravel-5.2" questions

Laravel 5 is the previous major version of the open-source PHP web development MVC framework created by Taylor Otwell.

Uncaught ReflectionException: Class log does not exist Laravel 5.2

I am currently trying to clone an existing project of mine from github. After clone I run composer install during …

php laravel centos7 laravel-5.2
how to test specific test class using phpunit in laravel

I want to test specific testClass in my project since there are a lot of test class that's failure and …

php laravel phpunit laravel-5.2
How to create a RESTful Resource Controller in Laravel 5.2, using Artisan command (PHP)

I'm working with Laravel 5 and I would like to know how to generate a RESTful Resource Controller with all predefined …

php laravel-5.2 ioc-container
I'm getting error "Class 'Predis\Client' not found" in Laravel 5.2

I want to using Redis in laravel 5.2 however, I'm getting error such a Class 'Predis\Client' not found, How I …

laravel laravel-5 redis composer-php laravel-5.2
How can I clear the cache in laravel using command line?

I am using Redis to cache queries/routes in Laravel 5.2. I have 3 environments running on the same web server i.…

laravel caching laravel-5 laravel-5.2 laravel-artisan
Run artisan command in laravel 5

I have controller like this public function store(Request $request) { Artisan::call("php artisan infyom:scaffold {$request['name']} --fieldsFile=public/…

php laravel laravel-5 laravel-5.2 laravel-artisan
Laravel 5.2 validation errors

I have some trouble with validation in Laravel 5.2 When i try validate request in controller like this $this->validate($…

laravel laravel-validation laravel-5.2
Carbon.php The separation symbol could not be found Data missing

First, I retrieve all the records, //get inventory items $inv = inventory::all(); and then I loop on the retrieved records …

php laravel date laravel-5.2 php-carbon
Get last part of current URL in Laravel 5 using Blade

How to get the last part of the current URL without the / sign, dynamically? For example: In www.news.com/…

laravel laravel-5 laravel-5.2 laravel-5.1 laravel-blade