david19
8 months ago
194
2
Laravel

Onboard vs Package Loadspeed

Posted 8 months ago by david19

Hello Team. What is the difference between "create onboard functions" or "use packages"?

I make a example:

Method 1: Install new laravel app, and add a "Role" table in the "User" database. After that, add a form for choose a "role". Finished!

Method 2: Install new laravel app. Before I create my own package and load my package with the service provider. All the same functions. Roles for the User.

Which Method is faster for laravel? Or its the same?

I like method 2, because i can use my own package in the next laravel projects very fast.

Please sign in or create an account to participate in this conversation.