This is a sample implementation of DataTables as a service for Laravel. (Using Yajra Datatables)
Do let me know your thoughts through comments or through mail [email protected]
Have a good day !
This is a sample implementation of DataTables as a service for Laravel. (Using Yajra Datatables)
Do let me know your thoughts through comments or through mail [email protected]
Have a good day !
Change the default error messages for HTML5 inputs using jquery
Do let me know your thoughts through comments or through mail [email protected]
Have a good day !
Using Mailjet wrapper for Laravel to send mails using their API service
You can read more on this in my Medium blog post here. Do let me know your thoughts through comments or through mail [email protected]
Have a good day !
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.
You can read more on this in my Medium blog post here. Do let me know your thoughts through comments or through mail [email protected]
Have a good day !
<?php | |
use Illuminate\Database\Seeder; | |
use League\Csv\Reader; | |
class WorldCitiesSeeder extends Seeder | |
{ | |
/** | |
* Run the database seeds. |
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); | |
}); |
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Foundation\Console\ModelMakeCommand; | |
class ModelMake extends ModelMakeCommand | |
{ | |
/** | |
* Prefix default root namepsace with a folder. |
This file uses
to create a functional dashboard skeleton.
There are no UI elements. Just the Dashboard
Use the above function in functions.php file to get all posts under a particular category by that category slug
Access url https://your-site.com/wp-json/idapi/v1/posts/{category-slug-without-braces}
<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> |