leostereo

leostereo

Member Since 2 Months Ago

Experience Points
4,200
Total
Experience

800 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
36
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start-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-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-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist 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
4,200 XP
Feb
17
1 week ago
Activity icon

Replied to Elocuent Newbe Question

Thanks guys, im aware about the idea of "array with steroids" am learning about its power step by step. Now , I got the id , but can not find the diference in:

>>> $rtu = App\Rtu::where('mac','DEADDEAD1111')->first()->id;
=> 74
>>> $rtu = App\Rtu::where('mac','=','DEADDEAD1111')->get('id');
=> Illuminate\Database\Eloquent\Collection {#2994
     all: [
       App\Rtu {#2976
         id: 74,
       },
     ],
   }

Why in first case I got the scalar value and in second I got the collection object? Anyway , thanks for helping me!

Activity icon

Started a new Conversation Elocuent Newbe Question

Hi guys , im trying to learn using elocuent model. I think my question is easier to explai with this example. Im trying to get the id for a table row, usually I would do:

select id from rtu where mac='DEADDEAD1111';

So , im trying to do same using elocuent, I have:

>>> $rtu = App\Rtu::where('mac','=','DEADDEAD1111')->get('id');
=> Illuminate\Database\Eloquent\Collection {#2991
     all: [
       App\Rtu {#2976
         id: 71,
       },
     ],
   }

Question is ... why can not just strip and get the '17' ? Why im receiving this big array with a lot of data ? I know that my mysql result is there , but how should I take it? Regards, Leo.

Feb
13
1 week ago
Activity icon

Replied to Laravel And Git

Dear Sinnbeck. I think my post is not very clear. I will try to explain better my goal. I want to use git to sync my remote repo (production) with my local repo (development). Remote and local laravel versions are not equal , I have 6 and 5.8. (can not change this). Is it possible ? How should I proceed creating the repo, clonning and pushing ? Im newby on git and also in laravel. Regards, Leandro.

Feb
12
2 weeks ago
Activity icon

Started a new Conversation Laravel And Git

Hi guys , I have some issues working with laravel and git. I have an accesible cloud server where I would like to serve mi laravel app. I want to deploy tha app localy and update every change. This is what i did. In the remote server: composer create-project --prefer-dist laravel/laravel pmmc cd pmmc git init git add all git commit -m "first commit"

In my local server I did: git clone ssh://remote/gitrepopath/pmmc cd pmmc. php artisan serve (I got:)

[[email protected] pmmc]# php artisan serve PHP Warning: require(/var/www/html/pmmc/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/pmmc/artisan on line 18 PHP Fatal error: require(): Failed opening required '/var/www/html/pmmc/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/pmmc/artisan on line 18

What is missing ? it seems I have same folder and content in my remote and my local ... why cant execute php artisan serve? Thanks! Regards.

Jan
15
1 month ago
Activity icon

Started a new Conversation Use Web Or Api Route When Building An Api.

Hi guys, after learning laravel im ready to build my own api. One thing I would like to ask is: Why whould I use api routes if I can also return jsons using web routes ?

Regards; Leandro.

Jan
12
1 month ago
Activity icon

Started a new Conversation Free Domain To Show My Laravel App.

Hi guys, is there some free place where i can upload or create my laravel app. My idea is to be able to show my app to anyone , like a testing enviromoment. Any idea would be wellcoment. Regards. Leandro.

Activity icon

Replied to Can You Recomend Some Ide For Laravel + Vue ?

hi you guys , for your recomendations. I also like vs , but ... it I never could get it working into a remote server. It is very common that you will work and deploy your app in a remote server so it should be easy to setup. Are you using it with remote connection ? btw im on arch linux. Regards.

Jan
05
1 month ago
Activity icon

Started a new Conversation Can You Recomend Some Ide For Laravel + Vue ?

Is there some recomended ide on linux with: php sintax. javascript sintax vue extension sintax. and finally , I would like to be able to work on remote server using ssh.

btw: I was working with "code". It was really nice , but I never could connect it to my development server through ssh.

Jan
02
1 month ago
Activity icon

Started a new Conversation Laravel Version 6 ...

I installed laravel following official documentation but im getting laravel version 5.8 instead version 6. So , I would like to know. Is the version 6 stable for install ? Should I upgrade to version 6 ? If so ... How to do it ? , in my case: (centos 7) Doing: composer global require laravel/installer returns: Nothing to install or update and doing: composer create-project --prefer-dist laravel/laravel bookreview Returns: Installing laravel/laravel (v5.8.35)

  • Installing laravel/laravel (v5.8.35): Loading from cache

Any idea would be pretiated. Regards. Leandro.

Activity icon

Replied to Laravel Web And Api

thanks!!!

Dec
31
1 month ago
Activity icon

Started a new Conversation Laravel Web And Api

Hi , guys. Im planing to develop a crud plarform. For first version i will create an http front-end but at the end, there should be an android app to manage the platform. My question is: What is the best way to develop my platform in order to keep both models working togheter, the http front end the android app using the same api. I think there is nothing strange here ,but since im newbe wanted to share my idea. Regards. Leandro.

Dec
30
1 month ago
Activity icon

Started a new Conversation Laravel Api With Authentication

Hi guys , can you point some working example to build an api with authentication (jwt or passport). Im new on laravel , I have been studing by my self , but can not get my api working with any authentication method, any nice link for begginer would be pretiated. Regards. Leandro

Dec
23
2 months ago
Dec
22
2 months ago
Activity icon

Started a new Conversation How To Set Apache To Serve Idem Like Artisan Serve Command

Hi guys. I have a fresh apache running on centos 7 server. I have been deploying my laravel aps at /var/www/html folder. So , in order to access , i need to go on my browser for:

http://10.1.1.50/blog/public/index.php/products.

While if use "php artisan serve" I can reach the app doing: http://10.1.1.50:8000/products

What do i need to properly set my apache to handle 2 or more laravel apps on port 80 in similar fashion than artisan serve option ? BTW I understand , I need to point app public folder , but how to doit if I need to serve multiple applications ? Regards. Leandro.