Smashing

Smashing

Member Since 4 Months Ago

Experience Points
9,640
Total
Experience

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
85
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 2
9,640 XP
Sep
14
1 week ago
Activity icon

Started a new Conversation Using Vuex In Custom Tools Laravel Nova

Hi,

How we can use Vuex in a custom tool, because I can not find too much on internet about this topic and I need to make state management in my tool. 
Can someone help me with this problem ?
Sep
05
2 weeks ago
Activity icon

Replied to Api Routes And Make Db Query With Custom Tools

And the controller is the same on we use when we are using web routes, right? Second question is we need to put the middleware('nova') when we are creating a api route, and why

Sep
04
2 weeks ago
Activity icon

Started a new Conversation Api Routes And Make Db Query With Custom Tools

Hi,

I  do not quite understand what are exactly and how api routes works in Laravel and how we can do database queries when we are creating our personal custom tools (https://nova.laravel.com/docs/3.0/customization/tools.html) .

Maybe can someone explain it to me?

Activity icon

Started a new Conversation Custom Tools

Hi,

When creating a custom tool we can use any package that we want?

Sep
03
2 weeks ago
Activity icon

Replied to ManyToMany Relationship

Yes, I know and I tried this and it does not work , the error still exists

Activity icon

Started a new Conversation ManyToMany Relationship

Hi,

I have been using Laravel Nova for a project and I have an error that I kinda know what means but ca not solve the problem.

I have 2 Models :      Company - Tag

between them i have a company_tag table that have his own id, company_id, tag_id. For some kind of reason on Tag page i get the error that the id is ambiguous, here's the error:

SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'id' in field list is ambiguous.

Aug
29
3 weeks ago
Activity icon

Commented on Create A Custom Tool

How can we integrate a custom tool made with Vue as a nova resource, because I can not find anywhere how to..?

Aug
28
3 weeks ago
Activity icon

Started a new Conversation Laravel Nova Custom Tools With Vue

Hi,

I'm curios if someone know if there is more tutorials, courses about this topic (working with custom tools using Vue). I've watch the course here, on Laracasts, about Laravel Nova but the topic about communicating with Nova and Vue for creating custom layouts and communicating to him how to create such things like layouts and doing much more is a bit low.... the official doc does not say much so maybe someone knows where can i find more information about this topic.

Thanks!

Aug
27
3 weeks ago
Activity icon

Replied to Image Intervention Fit()

Hi,

Thank you for showing me what I did wrong. To be exacly nothing because my code was good but after reading your comment i realized that first i was changing the image to the size I want ( and that's good ), but immediately i was also saving it into the database and in the project. So, this made the image re-sized to be changed with the exact image the user just submitted and replace the image that i just adjusted the size :)))

I do not know If I was clear, but over all your response help me figuring out what i was doing wrong ! Thank you !

Activity icon

Started a new Conversation Image Intervention Fit()

Hi,

I'm trying to re-size an image that can be too big and i am using image intervention lib and for some king of reason the image stiil comes with his defaul size and i dont know what to do...

$img = Image::make(public_path('storage/' . $this->storeFiles()))->fit(30,30);

Aug
26
4 weeks ago
Activity icon

Replied to Dump Specific Value

What method should i use for extracting the size of the image?

Activity icon

Replied to Dump Specific Value

Can you explain why this works?

Activity icon

Replied to Dump Specific Value

anything, for example originalName

Activity icon

Started a new Conversation Dump Specific Value

Hi,

I have a little problem and for some kind of reason can figure it out. How can i dd something from this class:

Illuminate\Http\UploadedFile {#251 ▼ -test: false -originalName: "logo-og.png" -mimeType: "image/png" -error: 0 #hashName: null path: "/tmp" filename: "phpUhNFe8" basename: "phpUhNFe8" pathname: "/tmp/phpUhNFe8" extension: "" realPath: "/tmp/phpUhNFe8" aTime: 2020-08-26 10:46:23 mTime: 2020-08-26 10:46:23 cTime: 2020-08-26 10:46:23 inode: 435844 size: 10754 perms: 0100600 owner: 33 group: 33 type: "file" writable: true readable: true executable: false file: true dir: false link: false }

Jul
31
1 month ago
Activity icon

Replied to Hide Create And Edit Button

hi,

i'm curios if i can hide it something like in css display:none;

Activity icon

Started a new Conversation Hide Create And Edit Button

Is there a way to hide this 2 bottoms from showing or is not possible ?

Activity icon

Replied to Update On Multiple Rows

yes, but my problem is when i display on the update page what i show tot the user lets say a booleangroup the values shown will be updated only on one row not on multiple rows

Tell me if you understand what i m trying to say, please!

Jul
30
1 month ago
Activity icon

Started a new Conversation Update On Multiple Rows

How can I do inside a resource an update on multiple rows in case i use a multiselect option and i wanna be able when the user updates his choices to be able to update more rows not just one?

Activity icon

Replied to BooleanGroup Styling

Ok, thank you !

Activity icon

Replied to Update Different Table Inside A Nova Resource

basically to make the update to a different table not to the table that the resource is created with Tags resouce / create_tags_table ----- to create_pivot_table...

By default nova make the update to the current table that is linked the resource and i wanna do the update to a different one

Activity icon

Replied to Update Different Table Inside A Nova Resource

So, I have 3 tables :

Products Tags Pivot table

And what i want is when i make an update and i am inside Tags resource to make the update with the data that are submitted in the form to the pivot table NOT the Tags table and i dont know can i do that...

Activity icon

Started a new Conversation Update Different Table Inside A Nova Resource

How can i make an update inside a resource for example Products, but i would like to make the update in a different table not in table linked to this resource/model? I'm sure there is a way but for now i do not see how.....

Jul
29
1 month ago
Activity icon

Started a new Conversation BooleanGroup Styling

Hi,

Is there a way to change the default style of a BooleanGroup inside the details page?

Activity icon

Replied to Get Current ResourceId Inside Actions

How can I make each record on it's own row if i have a multiple select options that can be submitted at ones?

Activity icon

Replied to Get Current ResourceId Inside Actions

Oh, yes you are right !

Thank You !

Activity icon

Replied to Get Current ResourceId Inside Actions

public function fields(Request $request) { //select all products attached to a tag $tags = \App\Tag::where('id', $request->resourceId)->get();

 }

something like that

Activity icon

Replied to Get Current ResourceId Inside Actions

I'm trying to say that every time a do an action I need the ID of the resource i'm doing it because i wanna insert it in other table, but i'm not sure how can i get it

Activity icon

Replied to Get Current ResourceId Inside Actions

Hey @aurawindsurfing,

It helps kind of but the thing is i need the id lets say "tag" i assign something throw an action, if i'm using first() method it will give me the first tag that i have but i need every time the tag ID that i'm doing an action

Jul
28
1 month ago
Activity icon

Started a new Conversation Get Current ResourceId Inside Actions

Hi,

Is there a way to get the current resourceId when I'm trying to perform an action inside handle() method, because if I'm trying to get it like in a nova Resource adding the Request class and passing it like a param inside the method i get an error
Jun
01
3 months ago
Activity icon

Commented on The Password Reset Flow

Worked for me thank you, but I am curios why JEFFREY's way does not work??-- If someone can explain

Activity icon

Commented on Build A Registration System In Mere Minutes

Hei, if someone has this problem -> SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table users add unique users_email_unique(email)) When using php artisan migrate just add in your app/AppServiceProvider.php inside bool function => Schema::defaultStringLength(191); and this one => use Illuminate\Support\Facades\Schema; above the class AppServiceProvider