marufalom

marufalom

Member Since 2 Years Ago

Experience Points 1,040
Experience Level 1

3,960 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 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.

04 Apr
1 month ago

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

Sourcemap will not be generated in production.

21 Mar
1 month 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 manage that in nginx?

09 Mar
2 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
2 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

  • but didn't succeed

  • 03 Mar
    2 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
    3 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

    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

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

    26 Sep
    7 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
    3 | 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

    20 Sep
    7 months 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 this error an show errors?

    Thanks

    01 Sep
    8 months 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
    10 months 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. 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