Skip to content

Instantly share code, notes, and snippets.

View pravnkay's full-sized avatar
👋

Praveen K pravnkay

👋
View GitHub Profile

DataTables Concerned Content for Laravel

This is a sample implementation of DataTables as a service for Laravel. (Using Yajra Datatables)

Support

Do let me know your thoughts through comments or through mail github@praveen.bulc.club

Have a good day !

Setting custom HTML 5 error messages

Change the default error messages for HTML5 inputs using jquery

Support

Do let me know your thoughts through comments or through mail github@praveen.bulc.club

Have a good day !

@pravnkay
pravnkay / Readme.md
Last active March 9, 2021 11:03
Using Mailjet to send mails from Laravel

Using Mailjet in Laravel

Using Mailjet wrapper for Laravel to send mails using their API service

Support

You can read more on this in my Medium blog post here. Do let me know your thoughts through comments or through mail github@praveen.bulc.club

Have a good day !

@pravnkay
pravnkay / Readme.md
Last active November 21, 2020 01:18
Using Google Recaptcha v3 in Laravel

Using Google's Recaptcha in Laravel

Google’s recaptcha is an effective way to curb the spammers in your web forms. It helps differentiate the bots from humans using a scoring system. Let me explain how I use it in my Laravel apps on pages that has a public web form.

Support

You can read more on this in my Medium blog post here. Do let me know your thoughts through comments or through mail github@praveen.bulc.club

Have a good day !

@pravnkay
pravnkay / WorldCitiesSeeder.php
Created August 21, 2020 08:55
Seed Data from CSV file
<?php
use Illuminate\Database\Seeder;
use League\Csv\Reader;
class WorldCitiesSeeder extends Seeder
{
/**
* Run the database seeds.
@pravnkay
pravnkay / AppServiceProvider.php
Created August 3, 2020 17:16
Set global view data in laravel
use Illuminate\Auth\Events\Authenticated;
class AppServiceProvider extends ServiceProvider
{
public function boot()
{
$this->app['events']->listen(Authenticated::class, function ($e) {
view()->share('user', $e->user);
});
@pravnkay
pravnkay / ModelMake.php
Created August 3, 2020 15:34
Change default directory for Models - Laravel Artisan
<?php
namespace App\Console\Commands;
use Illuminate\Foundation\Console\ModelMakeCommand;
class ModelMake extends ModelMakeCommand
{
/**
* Prefix default root namepsace with a folder.
@pravnkay
pravnkay / Readme.md
Last active April 15, 2020 05:52
Tailwind Admin Dashboard - Barebone

This file uses

  1. Tailwind.css
  2. Apline.js

to create a functional dashboard skeleton.

There are no UI elements. Just the Dashboard

@pravnkay
pravnkay / Readme.md
Created December 18, 2019 21:20
WP-API - Post by Category
@pravnkay
pravnkay / App.vue
Created December 18, 2019 14:51 — forked from bricksroo/App.vue
Reveal.js in Vue
<template>
<div id="app">
<!-- <img src="./assets/logo.png">
<HelloWorld msg="Welcome to Your Vue.js App"/> -->
<div class="reveal">
<div class="slides">
<section>Single Horizontal Slide</section>
<section>
<section>Vertical Slide 1</section>
<section>Vertical Slide 2</section>