iGenezys

iGenezys

Member Since 3 Years Ago

Experience Points
2,670
Total
Experience

2,330 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
1
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
2,670 XP
Mar
13
2 months ago
Activity icon

Replied to Show Databases In Laravel

All the replies helps, thanks a lot ! The major problem here was that I needed to set up a default database, then I can use @sauravs012 or @sinnbeck response for getting my databases

From here I can move on the next phase, and @sinnbeck & @zoroaster reps show me a way to do it.

Thanks again !

Mar
12
2 months ago
Activity icon

Replied to Show Databases In Laravel

Okay, that's just the list of databases I can show with this SQL line : https://imgur.com/SNMaXHN

And yes, I have the access to all databases

Activity icon

Replied to Show Databases In Laravel

Not here, that's the point, I wanted to know if the "Show Databases" that I did on MySQL can be done on a Laravel App

I'd like to post an Image but seems I can't here

All the tutorials that I wanted to find show how to display tables, not the databases.

Activity icon

Started a new Conversation Show Databases In Laravel

Hello world.

I wanted to try something like displaying all my tables in my database in a Laravel app. After searching for the web I found nothing good, and i'm blocked at the very beginning, the mysql connection.

As you see in the config file and the .env, we need to have a database name setup on the app

'mysql' => [
            'driver' => 'mysql',
            'url' => env('DATABASE_URL'),
            'host' => env('DB_HOST', '127.0.0.1'),
            'port' => env('DB_PORT', '3306'),
            'database' => '',
            'username' => env('DB_USERNAME', 'forge'),
            'password' => env('DB_PASSWORD', ''),
            'unix_socket' => env('DB_SOCKET', ''),
            'charset' => 'utf8mb4',
            'collation' => 'utf8mb4_unicode_ci',
            'prefix' => '',
            'prefix_indexes' => true,
            'strict' => true,
            'engine' => null,
            'options' => extension_loaded('pdo_mysql') ? array_filter([
                PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
            ]) : [],
        ],

I tried to remove the database attribute but when I do this code for the test

$db = DB::connection();

        $db->query('SHOW DATABASES');

        dd($db);

It return an error because I don't have any database setup.

I saw in Internet that I need to setup a whole config table for each table, but at the moment I have like 15-20 tables, that's gonna be kinda big, and I wanted it to be automatic.

So how could I do my "Show databases" request on a Laravel app ?

Thank you !

Feb
25
2 months ago
Activity icon

Started a new Conversation Laravel API - Guzzle Error

Hello people,

I tried to follow a tutorial for an application with Laravel. In this app, I need to load datas from an API. I do this in my api.php file

Route::get('/weather', function(){
    $response = Zttp::get('https://api.darksky.net/forecast/mykey/37.8267,-122.4233');

    return $response->json();
});

Then I call it :

methods: {
            fetchData(){
                fetch(`api/weather`)
                    .then(response => response.json())
                    .then(data => {
                        console.log(data)
                    })
            }
        }

Problem is, i got this error :

cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) 

When I looked for this problems I saw lot of solutions there, but they didn't worked for me. So I'm asking if you have an idea about how to handle this error.

Thank you by advance !

Jan
12
4 months ago
Activity icon

Replied to Deploy Vue JS App With Laravel Back-end

Edit : I finally understood what was the problem, I didn't made de good call on my welcome view. But thanks to you I understand quite better where I need to pay attention with vue + laravel !

Oh I see, then yes this file is already in my public/js folder

I can show you the page at http://labo.tloading.fr/laravue/public/ you'll see that vue is not detected, it's like I miss something elsewhere

Activity icon

Replied to Deploy Vue JS App With Laravel Back-end

What do you mean by my "generated js file" ?

If it's the app.js created in the resource folder that create the vue application and register my vue components, then yes, I pushed it in the resources/js folder.

If it's the whole node_modules that was created by the npm install, then no (since I didn't installed nodeJS)

I remember that I installer laravel/ui via composer for my Vue installation, do I need to do this on my server app ?

Activity icon

Started a new Conversation Deploy Vue JS App With Laravel Back-end

Hi people,

I recently started to learn Vue JS, and I created a little reply system with laravel for the back-end. That's working locally, I created my laravel app, I installed node JS, went npm run watch and it's fine. But I'd like to put it in my server.

Usually, with only Laravel app, it's working, I can create the project, put the files and eveything works fine. But now I have some vue components, and I don't know what to do on my server.

Actually I created my laravel App on the server, didn't installed Node yet, I put my files on the project, the vue components are in the resources/js/components folder, when I go on my URL, I only have the welcome Laravel page, even if the welcome.blade.php file is modified and have all my components inside.

Should I install NodeJS ? Something else on my server for making it works ?

Since I'm still beginning, I'm a bit afraid to install too many things on my server that I should not do, and I don't really understands all the tutorials I found on the web.

If you can help me getting my app working, I thank you in advance !