marknt15

marknt15

Member Since 2 Years Ago

Experience Points
1,390
Total
Experience

3,610 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
8
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,390 XP
21 Nov
10 months ago

marknt15 left a reply on Which CSS Framework Is Best For Vue Js App (Enterprise Level)

If it is your own app and you will only code it you can use whatever CSS framework you like or even a custom framework. But I think if your app will be handled by hired developers then I think most of the time bootstrap is the way to go because lots of developers know it thus the turn over and learning curve is low.

That's my opinion only. I have yet to finalize which CSS framework is best for my app :)

marknt15 left a reply on Which CSS Framework Is Laracasts Using?

@NASH - Thanks mate. I will start a new project and was wondering if which CSS framework I will use. Bootstrap is kinda bloated.

marknt15 started a new conversation Which CSS Framework Is Laracasts Using?

Hi guys. Is Laracasts using CSS frameworks like bootstrap, tailwind or foundation? Or is it using a custom CSS framework with flexbox? Thanks

09 Feb
1 year ago

marknt15 left a reply on What Environment Does Tayloy Otwell Use? MAMP, Docker, Native Or What?

@ejdelmonico Taylor already replied to me in Twitter and he said Valet.

marknt15 left a reply on What Environment Does Tayloy Otwell Use? MAMP, Docker, Native Or What?

@martinbean thanks for your reply and I understand your point. I will try and compare different development environments to see what's good for me. I'm eyeing Laradock now since at work we use docker and Symfony 2.

But I still wanted to know Taylor's development environment setup out of curiosities sake :D

marknt15 left a reply on What Environment Does Tayloy Otwell Use? MAMP, Docker, Native Or What?

@martinbean because I wanted to know the efficient development environment setup and adopt it.

marknt15 left a reply on What Environment Does Tayloy Otwell Use? MAMP, Docker, Native Or What?

Already asked him on Twitter and hopes he reply. Cheers! ?

08 Feb
1 year ago

marknt15 left a reply on What Environment Does Tayloy Otwell Use? MAMP, Docker, Native Or What?

@ejdelmonico Why can you pretty much guarantee he doesn't use MAMP? Because he uses Valet?

marknt15 started a new conversation What Environment Does Tayloy Otwell Use? MAMP, Docker, Native Or What?

Hi Guys just curious about what development environment setup Taylor uses? I am currently using MAMP with vhost in my MBP. Any tips which is better and faster? Thanks! :)

16 Mar
2 years ago

marknt15 left a reply on PHP Weekly Date Range With Specific Start And End Day

Posting the correct and final answer for future reference:

$weeks          = array();
$dayOfWeek      = date('w');
$thursday       = 4;
$diff           = $thursday - $dayOfWeek;
$minus_weeks    = 12; // past 3 months

// create week range that starts with Thursday and ends with Wednesday for the past 3 months
for ($i = 0; $i <= $minus_weeks; $i++) {

    $k = $i - 1;

    $from_formula   = strtotime("-$i week $diff day");
    $to_formula     = strtotime("-$k week " . ($diff - 1) . " day");
    $ymd_week_range = date('Y-m-d', $from_formula) . ',' . date('Y-m-d', $to_formula);

    $day_from   = date('j', $from_formula);
    $day_to     = date('j', $to_formula);

    $month_from = date('M', $from_formula);
    $month_to   = date('M', $to_formula);

    $year_from  = date('Y', $from_formula);
    $year_to    = date('Y', $to_formula);

    $weeks[$ymd_week_range] = "$month_from $day_from - $month_to $day_to";
}
15 Mar
2 years ago

marknt15 left a reply on PHP Weekly Date Range With Specific Start And End Day

Thanks for the tip. I think it is working correctly now by doing this revision:

for ($i = 0; $i <= 4; $i++) {
    $k = $i - 1;

    $from_text = strtotime("this week thursday -$i week");
    $to_text = strtotime("-$k week -1 day");

    $ymd_week_range = date('Y-m-d', $from_text) . ',' . date('Y-m-d', $to_text);

    $day_from = date('j', $from_text);
    $day_to = date('j', $to_text);

    $month_from = date('M', $from_text);
    $month_to = date('M', $to_text);

    $year_from = date('Y', $from_text);
    $year_to = date('Y', $to_text);

    $weeks[$ymd_week_range] = "$month_from $day_from - $month_to $day_to, $year_to";
}

I changed my laptop date and set it to tomorrow (Friday) and the results are now correct using the code above:

Array
(
    [2017-03-16,2017-03-23] => Mar 16 - Mar 23, 2017
    [2017-03-09,2017-03-16] => Mar 9 - Mar 16, 2017
    [2017-03-02,2017-03-09] => Mar 2 - Mar 9, 2017
    [2017-02-23,2017-03-02] => Feb 23 - Mar 2, 2017
    [2017-02-16,2017-02-23] => Feb 16 - Feb 23, 2017
)

marknt15 started a new conversation PHP Weekly Date Range With Specific Start And End Day

Hi I already have a date range result but how can I make the date range start at every Thursday and ends at Wednesday. Thanks for your help :smiley:

$week_range = '';
for ($i = 0; $i <= 4; $i++) {
    $k = $i - 1;

    $ymd_week_range = date('Y-m-d', strtotime("-$i week")) . ',' . date('Y-m-d', strtotime("-$k week -1 day"));

    $day_from = date('j', strtotime("-$i week"));
    $day_to = date('j', strtotime("-$k week -1 day"));
    $month_to = date('M', strtotime("-$i week"));
    $month_from = date('M', strtotime("-$k week -1 day"));
    $year_to = date('Y', strtotime("-$i week"));
    $year_from = date('Y', strtotime("-$k week -1 day"));

    $weeks[$ymd_week_range] = "$month_from $day_from-$day_to, $year_to";   
}
Array
    (
        [2017-03-16,2017-03-22] => Mar 16-22, 2017
        [2017-03-09,2017-03-15] => Mar 9-15, 2017
        [2017-03-02,2017-03-08] => Mar 2-8, 2017
        [2017-02-23,2017-03-01] => Mar 23-1, 2017
        [2017-02-16,2017-02-22] => Feb 16-22, 2017
    )

So today is thursday so it is correct. But if today is friday then the result is wrong. If today is friday then I want the correct result above. The wrong result is:

Array
        (
            [2017-03-17,2017-03-23] => Mar 17-23, 2017
            [2017-03-10,2017-03-16] => Mar 10-16, 2017
            [2017-03-03,2017-03-09] => Mar 3-9, 2017
            [2017-02-24,2017-03-02] => Mar 24-2, 2017
            [2017-02-17,2017-02-23] => Feb 17-23, 2017
        )

marknt15 left a reply on Login By Username In Laravel 5.3?

Thanks @SaeedPrez for your youtube video tutorial. It solved my problem.

https://www.youtube.com/watch?v=Qtiyo2J_-tA&feature=youtu.be

13 Feb
2 years ago

marknt15 left a reply on Help On Project Cost Estimate - HRIS System With Payroll And Time Clock

The client just replied, got scared with my rough estimate and did not discussed the details LOL. It's ok, I'm not affected :)

Gotta Love the Project Management Triangle

Good - Cheap - Fast (But you can pick only Two)

  1. Good + Cheap = Not Fast
  2. Fast + Good = Not Cheap
  3. Cheap + Fast = Not Good

marknt15 started a new conversation Help On Project Cost Estimate - HRIS System With Payroll And Time Clock

Hi, I would just like ask for help in estimating the price of a Human Resources Information System with Payroll and Time Clock functionality. This is a project based system. The client is asking me now for quote without discussing further details of the project and no provided designs. The Timeline for this is 4 months only. My rough estimate is around USD $10k. What do you think? I will make this in Laravel 5.4 with responsive design. Thanks!

Below are the requirements:

Clock in and out

  • DTR history
  • DTR interface Records Management
  • Employee records (Personal information)
  • Uploading employee records (New employees)
  • Calendar Reports
  • Employee list
  • Masterlist
  • List of regular employees
  • Probationary employees
  • Resigned employees
  • Per department list
  • Active and Inactive list
  • Attendance Report
  • DTR Detailed report
  • DTR report
  • Tardiness report
  • Absences report
  • Time keeping – ALL log in and out
  • Holiday list
  • Employees leave report
  • Leave balances report

Filings

  • Employee Filings ( logedit, OT, leaves)
  • Filing review and confirmation

Payroll Settings

  • Basic pay, allowance
  • Settings for payroll factor, cut-off type, statutory period (SSS, Philhealth, Pagibig), tax type, exemption status, pay type (monthly, daily, hourly, salary history, salary increase, bank account details

Payroll Process

  • Regular payroll processing with .txt file generation for different bank online upload
  • Final pay processing

Payroll Reports

  • Payroll Register (every cut-off period payroll breakdown)
  • Payslip viewer/generate
  • SSS, Philhealth, Pagibig contributions and loans report per year, month, cut-off
  • BIR 1601C report per year, month, cut-off
  • Alphalist/Annualisation report per calendar year
  • BIR 2316 generation per employee
  • 13th month report monthly, yearly
12 Feb
2 years ago

marknt15 left a reply on Blisk Browser For Testing Site Design And Functionalities

LOL! I did not see any thing that it's a paid service. It's a trap! Uninstalling it too now :P

23 Nov
2 years ago

marknt15 left a reply on Blisk Browser For Testing Site Design And Functionalities

@sweijdt I have noticed my AJAX success like printing an HTML onchange of a dropdown doesn't show in the mobile view rendered. I was thinking if I need to test something then it should be the actual device or browser? What do you think?

marknt15 started a new conversation Blisk Browser For Testing Site Design And Functionalities

Hi. I've installed and is using Blisk Browser (https://blisk.io/) and also testing my site in Firefox and Chrome. Is Blisk reliable? Do you do the same or blisk is a waste of time? Thanks!

18 Nov
2 years ago

marknt15 started a new conversation Laravel Backend Admin - Separate Laravel Install Or Use Only One Laravel Install?

Hi Guys, I need structure tips before I create my personal website.

1.) Should I use a separate Laravel install for my subdomain backend to be safer or should I only use one Laravel install and do the routes below? 2.) Which is the best practice and easier to maintain? 3.) Should I use subdomain for my Backend Admin or just use sub-folder (www.domain.com/admin)

Controllers:

app\Http\Controllers\Admin\AdminController.php (Backend)
app\Http\Controllers\HomeController.php (Frontend)

Routes File:

Route::group(array('domain' => 'domain.com'), function() {
    Route::get('/', '[email protected]');
});
Route::group(array('domain' => 'admin.domain.com'), function() {
   Route::get('/', 'Admin\[email protected]');
});

VHOST:

127.0.0.1   domain.com
127.0.0.1   admin.domain.com