Ty

Ty

Member Since 1 Year Ago

Experience Points 8,640
Experience Level 2

1,360 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 64
Lessons
Completed
Best Reply Awards 2
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

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

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

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

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    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 Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

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

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

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

20 Jun
4 days ago

Ty left a reply on Sublime, Not Best Tool For Larger Projects And Debugging?

I use sublime for all of my projects. I know many developers prefer PHP Storm, but I find Sublime does just fine for me. I can get by usually by using DebugBar for debugging.

Ty left a reply on Upwork Clone That Is Build In Laravel?

Everything that is wrong with this.... If the client wants a quality product they need to pay for the time and effort put into said project. If they want it quick and cheap, it won't be quality. If they want quality it won't be quick and cheap. I would inform and educate your client, if they don't like that solution, move on.

Ty left a reply on Laravel

Bootstrap imports the bootstrap files in the installation. Are you needing the actual uncompiled files for any particular reason?

19 Jun
5 days ago

Ty left a reply on How To Change Password?

You have received an answer. Simply asking for coding is not encouraged. Try to do the code yourself and then whenever you run into an issue, then ask for assistance. But jumping on here demanding for free coding for your project is not the way to go. Laravel has a learning curve and seeing you have only completed one lesson I can understand why you are lost on how to accomplish simple tasks in Laravel. I would suggest like many other have and say you need to take a step back and learn laravel, attempt some personal projects before jumping into a paid laravel gig. I maybe out of line and others may disagree, but I feel laravel as a profession is not for you until you have a good understanding of how the innerworkings of laravel work for starters.

13 Jun
1 week ago

Ty left a reply on How To Test Why My View-Composer Isn't Working

First I would add the view facade before the service provider in ComposerServiceProvider

Ty left a reply on Laravel Error 500, Welcome Page Not Loading

@gemilyd you need to read my comment and this will fix your issue. You cannot use a .env.example.

Ty left a reply on How To Make Links Clickable

If you could post some code or more of an explanation of what you're looking for we can help more. Your request is a little vague on what you're actually trying to achieve.

Ty left a reply on Sending Variable To All Blade Views

you're going to want to look at https://laravel.com/docs/5.8/views#passing-data-to-views and you will see how to use view composers to achieve this.

Ty left a reply on Welcome.blade.php Not Working

I would suggest following along with a video tutorial such as https://laracasts.com/series/laravel-from-scratch-2018 to learn more about laravel, the setup process and the coding process before trying to dive in head first. Laravel does have a learning curve and not something that can be dove into right off the bat.

Ty left a reply on Welcome.blade.php Not Working

How are you trying to access your laravel install? Are you working on a local environment? If so how is your local environment setup?

Ty left a reply on Laravel Error 500, Welcome Page Not Loading

you need to have an .env laravel does supply a .env.example as just a boilerplate example. You need to make sure you have a .env that is configure to your actual setup you wish to have. This is also where you will set your database variables.

12 Jun
1 week ago

Ty left a reply on SQLSTATE[42S02]: Base Table Or View Not Found: 1146 Table

Did you also make sure the migration table was empty as well? I have ran into this issue before where if the migrations table still had data I had this error.

06 Jun
2 weeks ago

Ty left a reply on How To Create Table In Database Without Migrations ?

You want to create a database table for each user? That sounds pretty database heavy and probably not a good idea.

05 Jun
2 weeks ago

Ty left a reply on 404 | Not Found

please mark as solved.

04 Jun
2 weeks ago

Ty left a reply on Homestead, Serve, Separate Linux Box/VM? How Do You Work?

I use WAMP for PHP and MySQL and then in my computers document folder is where I create my projects and just run the project in my browser using php artisan serve and 127.0.0.1:8000 I'm sure everyone has there own way though.

Ty left a reply on Class 'Form' Not Found

Please make sure you have installed LaravelCollective for this to work. I think everyone is moving away from using LaravelCollective since they have decided to no longer maintain or provide support. You could always just use HTML5 forms in place.

23 May
1 month ago

Ty left a reply on Edit Blade View

@wuschelino22 everything good now? If so please mark as solved.

Ty left a reply on Edit Blade View

change your edit form to read like this.

<form class="form-horizontal" role="form" method="POST" action="{{ url('shares', $shares->id) }}">
    {{ csrf_field() }}
    {{ method_field('PATCH') }}

Ty left a reply on Edit Blade View

can you show more of your controller? something is missing. Did you create the controller manually or did you create it through artisan using --resource

22 May
1 month ago

Ty left a reply on Edit Blade View

@wuschelino22 why do you still have Request $request? remove that and just have $id your request should be on your update method.

Ty left a reply on Which Editor Do You Use To Work?

I use sublime. I like the packages it has to offer. Also, I guess I just like it out of force of habit. I have also used Atom and like it as well.

Ty left a reply on Where To Put Logic In Laravel?

Logic would be good in your controllers. But if your controllers are getting to out of handle then you'll want to look into service files you can reuse in cases when you need them.

Ty left a reply on Edit Blade View

Your edit should be really simple and doesn't require a request. your request is done on the public function update(Request $request, $id) {.......}

        $shares = Url::findOrFail($id);
        $categories = Categorie::get();  

        return view('users.edit', compact('shares'));

    }```

Ty left a reply on Edit Blade View

Is there a reason you are using a for foreach in your edit view? You are looping through each shares. you should pass the id and then present the edit view.

21 May
1 month ago

Ty left a reply on UI To Build Dynamic Forms

i'm not aware of any modules that make this available. There used to be Laravel Collective but this still required you to write the code in order to generate the forms.

08 May
1 month ago

Ty left a reply on Admin Panel Recommendation

Have you checked out Voyager? If not just load up AdminLTE and roll your own.

Ty left a reply on Saving Data To Database

need to add use Auth; in your controller

03 May
1 month ago

Ty left a reply on SALES INVOICE

What have you tried so far? Where is your code so we can help you get through this?

02 May
1 month ago

Ty left a reply on Eloquent Coding

Instead of such a large request I would refactor this a little better for efficiency. You might consider eloquent relationships as a better way to refactor such a request. https://laravel.com/docs/5.8/eloquent-relationships

01 May
1 month ago

Ty left a reply on Is It Possible To Build An Entire Hybrid Mobile App Using Laravel?

Laravel is a PHP framework that serves as a backend platform for building PHP applications. Ionic is a mobile app platform that relies on Javascript/HTML/CSS. So they are completely different. I did see the other day that Iconic has started supporting VUE which is what alot of laravel developers use for frontend in laravel.

10 Apr
2 months ago

Ty left a reply on How Do I Pass 2 Arguments In Foreach ?

Wouldn't this be a scenario where you could use relationships to better associate the data rather than trying to accomplish this using nested foreach

04 Apr
2 months ago

Ty left a reply on Error In Database

go into our pg_hba.conf and add the trust lines to the bottom of the file and restart your postgres server.

# "local" is for Unix domain socket connections only
local   all         all                               trust
# IPv4 local connections:
host    all         all         127.0.0.1/32          trust
# IPv6 local connections:</code>
host    all         all         ::1/128               trust

Ty left a reply on Error In Database

Are you using a local environment? If so did you modify your pg_hba.conf?

29 Mar
2 months ago

Ty left a reply on Problem Conection To Database

It doesn't look like it's picking up the entries your using in .ENV. You might also check your database.php file to make sure there is no custom modifications hard coded.

28 Mar
2 months ago

Ty left a reply on Paginate Comments

$users = DB::table('users')->simplePaginate(15);

https://laravel.com/docs/5.8/pagination#paginating-query-builder-results

Keep in mind if your code your using groupBy you need to create a manual pagination.

Ty left a reply on How To Convince Someone From Codeigniter To Laravel

One good point right off the top before even talking about the features would be the support and upgrades of Laravel. CodeIgniter 4 was proposed in 2015 and still is not in production. They have a handful of maintainers that get to stuff when they want to.

27 Mar
2 months ago

Ty left a reply on WAMP Localhost

The way I setup my projects is in a folder under my documents. I use wamp only for MySQL. You will just go to the folder of your project start up the laravel server and it should work. I have found trying to run laravel in Wamp it becomes troublesome.

Ty left a reply on Redirecting URL Problem

You need to provide more details to get assistance. Even on Stack Overflow they have asked you to provide more details and you haven't. So, with that being said,

• Are you using laravel? • What version of laravel? • Please post relevant code using code blocks example would be three back ticks before and after your code.

20 Mar
3 months ago
18 Mar
3 months ago

Ty left a reply on Convert From Collective

Ok I will remove the ID. I'm setting up a ACL and the tutorial I seen when I got stuck was using all Laravel Collective and couldn't find any reference docs since they closed shop. @snapey and @cronix I appreciate you all jumping in so quick.

Ty left a reply on Convert From Collective

I was about to solve this by

<input type="checkbox" name="permissions[]" id="{{$permission->id}}" value="{{$permission->id}}">

Ty started a new conversation Convert From Collective

i'm trying to refactor my forms and cannot figure out the equivalent of this syntax.

''' @foreach ($permissions as $permission) {{ Form::checkbox('permissions[]', $permission->id ) }} @endforeach '''

that doesn't use collective form.

08 Mar
3 months ago

Ty left a reply on Angular Or React

If you are working as a web developer primarily with laravel I would suggest Vue. Vue seems to be widely favored among the laravel and other php framework communities. You will notice a lot of tutorials will use Vue along with Laravel as well. React and Angular are also great frameworks, it really just depends on your preferred js framework.

Ty left a reply on What Css Framework Should I Use?

I have noticed in alot of tutorials they use https://bulma.io/. It seems to be really lightweight compared to bootstrap or the others. I although, have not personally used this in my projects but could be worth a look.

20 Feb
4 months ago

Ty left a reply on Using Multiple Models In One Shared Blade Template

try this

app\Stream.php

public function documents()
{
return $this->hasMany('App\Document', 'stream_id');
}

app\Document.php

public function stream()
{
return $this->belongsTo('App\Stream');
}

Ty left a reply on Using Multiple Models In One Shared Blade Template

How are the relationships defined in your models?

15 Feb
4 months ago

Ty left a reply on All Laravel Versions With Documentation

You can visit https://packagist.org/packages/laravel/framework for the versions. You can also look at the branch history at https://github.com/laravel/laravel . To get the documentation https://laravel.com/docs/5.7 and look at the top right hand corner for the version dropdown. hope this helps you.

14 Feb
4 months ago

Ty left a reply on HTML/CSS Animation?

This can be accomplished using HTML/CSS pretty easily. A simple google search shows many example tutorials of how to create animated dropdown buttons. I found this link in particular that could be very helpful https://codemyui.com/tag/drop-down/ another example that could be expanded on https://codepen.io/veronicadev/pen/JLoaVg you can also check out this https://freefrontend.com/css-menu/