marufalom

marufalom

Member Since 2 Years Ago

Experience Points
1,110
Total
Experience

3,890 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
3
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
1,110 XP
09 Sep
1 week ago

marufalom left a reply on Why `Framework Running` Taking Too Much Time?

Thank you @tray2 for your suggestion. Would you mind explaining Consider using SQL over Eloquent relationships this one?

SQL means writing raw SQL with DB Facade or Model?

08 Sep
2 weeks ago

marufalom started a new conversation Why `Framework Running` Taking Too Much Time?

My laravel application is getting slow, so, i am trying to debugging with Clockwork

Clockwork tab this is what it is saying. I have populated a model with 500 records which is related to 5-6 other model.

After that my app is getting so slow!

PS: I am requesting API and I do not have any custom middleware

01 Sep
3 weeks ago

marufalom left a reply on Laravel 5.2 Migrations - Problem With Default() Method In Migration For A Polymorphic Relationship

Thanks, this is also fixed for me. But why this happen? Is it only with MySql or Other databases too?

04 Apr
5 months ago

marufalom left a reply on [Laravel Mix] How To Disable Sourcemaps In Production?

Sourcemap will not be generated in production.

21 Mar
6 months ago

marufalom started a new conversation Nginx Laravel And Wordpress

I am using digitalocean droplet for my application and website. My website is in Wordpress I want to use it for my root domain.

website.com ==> wordpress site website.com/app ==> laravel applicaition

how can I achieve that in nginx?

09 Mar
6 months ago

marufalom started a new conversation Google App Engine Vs Google Compute Engine

Hi, In terms of pricing, which one good for deploying? My application is in a very early stage. We have maximum 5-10 concurrent user. Most of the times we do not have any users at all!

I am trying to make a budget for deploying. Which one do you suggest? How much will approximate costs I have to pay in a month?

Thanks

04 Mar
6 months ago

marufalom left a reply on Bootstrap Nav-Menu Is Not Opening

@TRAY2 - Yes, didn't find any error. But it fires an event and trying to add open class to <li> but didn't succeed

03 Mar
6 months ago

marufalom started a new conversation Bootstrap Nav-Menu Is Not Opening

Tried other solutions in this forum no luck.

webpack.mix.js

mix.webpackConfig(webpack => {
    return {
        plugins: [
            new webpack.ProvidePlugin({
                $: "jquery",
                jQuery: "jquery",
                "window.jQuery": "jquery",
                Popper: ["popper.js", "default"],
            })
        ]
    };
});



mix.setPublicPath(path.resolve("./"))
mix.copy('mix-manifest.json', 'public/mix-manifest.json');

mix.js("resources/assets/js/app.js", "dist/js/app.js")
    .js("resources/assets/js/index.js", "dist/js/modules.js")
   .sass("resources/assets/sass/app.scss", "dist/css/app.css")
    .sourceMaps()

bootstrap.js

try {
    window.$ = window.jQuery = require('jquery');
    window.Popper = require('popper.js').default;
    require('bootstrap');
} catch (e) {
    console.log('Doesnt work')
}

navbar.blade.php

<ul class="nav-right">
            <li>
                <a href="{{ route('ChangeLang',['lang' => LaravelLocalization::getCurrentLocale() == 'en' ? 'th' : 'en']) }}">
                    <i class="ti-flag"></i> {{ LaravelLocalization::getCurrentLocale() == 'en' ? 'ไทย' : 'English'  }}
                </a>
            </li>
            <li class="dropdown">
                <a href="" class="dropdown-toggle no-after peers fxw-nw ai-c lh-1" data-toggle="dropdown">
                    <div class="peer mR-10">
                        <i class="ti-user"></i>
                    </div>
                    @auth
                        <div class="peer">
                            <span class="fsz-sm c-grey-900">{{ auth()->user()->name }}</span>
                        </div>
                    @endauth
                </a>
                <ul class="dropdown-menu fsz-sm">
                    <li>
                        <a href="/logout" class="d-b td-n pY-5 bgcH-grey-100 c-grey-700">
                            <i class="ti-power-off mR-10"></i>
                            <span>Logout</span>
                        </a>
                    </li>
                </ul>
            </li>
        </ul>
21 Jan
8 months ago

marufalom left a reply on Reset / Turn Off Phpunit Test Coverage In PhpStrom

@martenvanurk I don't know What I did but somehow its gone!

Maybe I just selected "No Coverage" from run -> code coverage data or maybe put no-coverage option in phpunit.

Thanks for your help ^_^

marufalom left a reply on Reset / Turn Off Phpunit Test Coverage In PhpStrom

@MARTENVANURK - Thanks for your help. Can you please elaborate more? I just can not figure it out.

marufalom started a new conversation Reset / Turn Off Phpunit Test Coverage In PhpStrom

I have a noob question, How can I disable the line highlighting after running a test with coverage?

PhpStrom Code Coverage

26 Sep
11 months ago

marufalom started a new conversation SQL Show Value If A Column Not Found

I want to display a users monthly attendance. I got his attendance records but I want to display a value if an employee is not present.

SELECT USERID,MIN(CHECKTIME) in_time,MAX(CHECKTIME) out_time
FROM dbo.CHECKINOUT
WHERE CHECKTIME BETWEEN 
DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()), 0)
AND 
DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()) + 1, 0)
AND USERID = 2
GROUP BY CONVERT(varchar(8), CHECKTIME, 112),USERID

What I get

userid | in_time | out_time
2 | 2018-09-03 08:42:05.000 | 2018-09-03 17:28:39.000
2 | 2018-09-10 08:57:10.000 | 2018-09-10 17:26:38.000

What I want

userid | in_time | out_time
2 | 2018-09-03 08:42:05.000 | 2018-09-03 17:28:39.000
2 | 0 | 0
2 | 2018-09-10 08:57:10.000 | 2018-09-10 17:26:38.000

I want to show, If the data is not found then he is absent. It can be zero or anything.

Note: I am using Microsoft SQL Server

20 Sep
1 year ago

marufalom left a reply on Laravel Array Validation With Vue Components

Thanks @Tomi , I figured out the problem. It is because laravel gives 'request_name.1' for ID. Vue think .1 (dot one) is an object!

I'd fixed it by using array.

marufalom left a reply on Parse Array Validation From Laravel

How can I do this with vue?

marufalom started a new conversation Laravel Array Validation With Vue Components

I have a large form with array of data. My html looks like this

<input placeholder="order number" name="order_number[]" type="text" :value="data.order_number" class="form-control custom-input ">
 
<form-error v-if="errorList.order_number" :allerror="errorList.order_number"></form-error>

I have a child vue component which receive laravel validation error messages as props.

Vue.component('formError', {
    props: ['allerror'],
    template: '<span class="text-danger">{{ allerror[0] }}</span>'
})

This works fine for single entry. When I am trying to validate array of input fields it doesn't work.

I got this from messages from laravel:

order.0
:
["The order.0 field is required."]
order.2
:
["The order.2 field is required."]
order.3
:
["The order.3 field is required."]

How can I loop through the actual errors in field?

Thanks

01 Sep
1 year ago

marufalom started a new conversation Vuejs In Laravel Controller

I am using a laravel datatables package. Where I have displayed all the data underneath a block. Here is my controller where I want to fire an vuejs click event from the controller

    addColumn('action', function ($row) {
                return '<a @click="selectSingleOrder(order);" class="btn btn-sm btn-info"
                   data-toggle="modal" data-original-title="View this master LC Data">View</a>';
            })

@click="selectSingleOrder(order)

Probably this is a stupid way of doing things. Help me

15 Jul
1 year ago

marufalom started a new conversation How Can I Convert A Simple SQL Query To Eloquent

Sorry for noob question. My teammate give me an oracle SQL query.

select b.PI_NO from mer_bom_material b, new_order a where a.ORDER_NO=:p_order

I need to convert this to eloquent. Here :p_order is a parameter value.

Thanks

23 Apr
1 year ago

marufalom left a reply on Suggestion On ERP Development

@m-rk Actually, We want to sell our ERP

marufalom left a reply on Suggestion On ERP Development

I've searched a lot on the internet, People's are saying "PHP is not enterprise language". I really don't believe it!

marufalom started a new conversation Suggestion On ERP Development

I am a Laravel developer, my organization needs an ERP solution. They don't care about technology I use, they just need a solution. Should I go to Java or Asp.NET or build an ERP with Laravel.

PS: Here we've PHP and Java mixed developers.

Thanks

13 Nov
1 year ago

marufalom left a reply on Resetting Application Namespace

Thank you. That was an easy fix! Dumb me.

Thanks by the way

marufalom started a new conversation Resetting Application Namespace

Description:

I just accidently change the default namespace "app" to "Different" namespace. I want back to the default namespace again. How I can do that? The official documentation does not helping me out.

Thanks

  • Laravel Version: 5.5.20
  • PHP Version: 7.2
  • Database Driver & Version: mysql
27 Apr
2 years ago

marufalom left a reply on Laravel Certification. 2017!

Waiting for certification study materials for exam.

24 Mar
2 years ago

marufalom left a reply on I Need A Simple Free Hosting Service To Test My Laravel App

Probably Heroku is the best choice