Buzz

Buzz

Member Since 2 Years Ago

Experience Points
1,880
Total
Experience

3,120 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
17
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 1
1,880 XP
May
23
1 week ago
Activity icon

Started a new Conversation Some Problem With Laravel/ui

Somehow the authentication is not functioning. So to repair the situation I deleted the package.lock and the corresponding node_modules and ran the "composer require laravel/ui" command.

$ composer require laravel/ui
Using version ^2.0 for laravel/ui
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: facade/ignition
Discovered Package: fideloper/proxy
Discovered Package: fruitcake/laravel-cors
Discovered Package: laravel/tinker
Discovered Package: laravel/ui
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Package manifest generated successfully.

Next I ran:

$ php artisan ui vue --auth
Vue scaffolding installed successfully.
Please run "npm install && npm run dev" to compile your fresh scaffolding.
 The [auth/login.blade.php] view already exists. Do you want to replace it? (yes/no) [no]:

But, the last line here is causing a problem. It accepts neither yes nor no and I can't go any further.

Any solutions, please?

Thank you,

Buzz

May
01
1 month ago
Activity icon

Replied to Laravel 7 Returns An Ugly Single Line Database Return

I had to leave the code as it was. It didn't work that way, probably because of the Facades\DB, but simply using the json-formatter did the trick.

Thanks a ton and have nice day or evening!?

Buzz

Activity icon

Replied to Laravel 7 Returns An Ugly Single Line Database Return

Thanks for letting me know!&!&

Buzz

Activity icon

Started a new Conversation Laravel 7 Returns An Ugly Single Line Database Return

On running this query in Laravel 7.2:

<?php

namespace App\Http\Controllers;

use Illuminate\Support\Facades\DB;

class UserController extends Controller

{
    public function index()

    {
        $users = DB::select('select * from users');
        return $users;

        return view('users');
    }
}

It returns:

[{"id":1,"name":"xxxx","email":"[email protected]","email_verified_at":null,"password":"$2y$10$C.pqB9p9QspjdUwi????SOMZ1y1B4V5ABCDfuoaeFeLQIw70..fWe,"remember_token":null,"created_at":"2020-05-01 07:40:28","updated_at":"2020-05-01 07:40:28"}]

I would rather that it returns as follows where each item is as in an object:

[
  {
   "id":1,
   "name":"xxxx",
   "email":"[email protected]",
   "email_verified_at":null,
   "password":"y$C.pqB9p9QspjdUwi????SOMZ1y1B4V5ABCDfuoaeFeLQIw70..fWe",
   "remember_token":null,
   "created_at":"2020-05-01 07:40:28",
   "updated_at":"2020-05-01 07:40:28"
  }
]

Would you please suggest a solution?

Thank you - Buzz

Apr
18
1 month ago
Activity icon

Replied to CSS Grid Layouts In Laravel ?

Thank you!

I am just starting to learn Laravel and am at the moment getting my bearings in order, so pardon me for any stupid questions..

Buzz

Activity icon

Started a new Conversation CSS Grid Layouts In Laravel ?

Is it possible to use CSS-Grid Layouts in Laravel and your own framework free CSS/SASS ?