Recently I’ve read about namespaces and how they are beneficial. I’m currently creating a project in Laravel and trying to move from class ...
-
May 22, 2022
- 0 Comments
I’m on Ubuntu 14.04 and I’ve been trying all possible methods to install Laravel to no avail. Error messages everything I try. I’m ...
-
May 20, 2022
- 0 Comments
Here is my controller: <?php namespace App\Http\Controllers\Api; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class RegisterController extends Controller { public function register(Request $request) { dd('aa'); } ...
-
May 20, 2022
- 0 Comments
I’d like to be able to add a custom attribute/property to an Laravel/Eloquent model when it is loaded, similar to how that might ...
-
May 20, 2022
- 0 Comments
I’m stuck on a simple task. I just need to order results coming from this call $results = Project::all(); Where Project is a ...
-
May 19, 2022
- 0 Comments
Migration error on Laravel 5.4 with php artisan make:auth [Illuminate\Database\QueryException] SQLSTATE...
In Laravel v4 I was able to get the current route name using… Route::currentRouteName() How can I do it in Laravel v5 and ...
-
May 19, 2022
- 0 Comments
I’m running laravel 5.4 on Ubuntu 16.04 server with PHP7. trying to install cviebrock/eloquent-sluggable package throw some error: pish@let:/home/sherk/ftp/www$ sudo composer require cviebrock/eloquent-sluggable ...
-
May 18, 2022
- 0 Comments
I created a migration with unsigned user_id. How can I edit user_id in a new migration to also make it nullable()? Schema::create('throttle', function(Blueprint ...
-
May 18, 2022
- 0 Comments