Skip to content

Instantly share code, notes, and snippets.

View arvindsvt's full-sized avatar

Arvind Shrivastwa arvindsvt

  • Ahmedabad
View GitHub Profile
@arvindsvt
arvindsvt / resumable-large-file-uploads-in-chunks-laravel
Last active April 3, 2024 04:07
resumable-large-file-uploads-in-chunks-laravel
https://shouts.dev/articles/laravel-upload-large-file-with-resumablejs-and-laravel-chunk-upload
https://github.com/shoutsdev/laravel-file-upload-with-resumablejs/blob/main/resources/views/upload.blade.php
https://stackcoder.in/posts/php-resumable-large-file-uploads-in-chunks-using-flowjs
https://medium.com/@hassanrazadev/how-to-upload-large-files-in-laravel-web-application-bde34da8b242
https://webdock.io/en/docs/how-guides/laravel-guides/laravel-chunked-upload-uploading-huge-files
https://techvblogs.com/blog/importing-large-csv-files-in-mysql-using-laravel
@arvindsvt
arvindsvt / adminFormTablaeDashboard
Created March 31, 2024 15:19
adminFormTablaeDashboard
<!DOCTYPE html>
<!--
Template Name:: SmartAdmin PHP Responsive WebApp - Template built with Bootstrap 4 and PHP
Version: 4.5.3
Author: Jovanni Lo
Website: https://smartadmin.lodev09.com
Purchase: https://wrapbootstrap.com/theme/smartadmin-php-responsive-webapp-WB05M9585
License: You must have a valid license purchased only from wrapbootstrap.com (link above) in order to legally use this theme for your project.
-->
@arvindsvt
arvindsvt / CRUD API Integration using Javascript HTML - AJAX CALL
Last active March 29, 2024 08:20
CRUD API Integration using Javascript HTML - AJAX CALL
https://www.youtube.com/watch?v=e5Tnmw_ie_w
https://gitlab.com/balaji123balaji/javascropt-api-integration
https://www.youtube.com/watch?v=nSDy_g8tTGE&list=PLMPZIgg1n4JmLEL3kNVbVRTTBgkiFIzF8
https://github.com/hilalahmad32/php-api-with-jwt-auth/blob/master/database/Database.php
https://dcodemania.com/post/crud-app-php-oop-pdo-mysql-fetch-api-es6
https://dcodemania.com/post/crud-app-php-mysqli-prepared-statement
https://dcodemania.com/post/crud-application-image-upload-laravel-8-ajax-sweetalert-datatable
https://github.com/ruhid206/php-ajax-crud-yt/blob/master/server.php
https://www.youtube.com/watch?app=desktop&v=e0HLuJ9QK9k
@arvindsvt
arvindsvt / multilevel-drag-and-drop-menu
Last active March 25, 2024 05:12
multilevel-drag-and-drop-menu
https://www.webtrickshome.com/blog/how-to-create-multilevel-drag-and-drop-menu-in-laravel-like-wordpress-without-packages
https://nadjmandev.com/create-sortable-drag-and-drop-multi-level-list-with-jquery-like-wordpress-menu-page/
@arvindsvt
arvindsvt / php-database-singleton-method
Last active April 24, 2024 11:36
php-database-singleton-method
Class DbConn {
private static $instance;
private $dbConn;
private $mysqli;
private function __construct() {
$this->mysqli = new mysqli("localhost", "root", "", "fetch_category");
@arvindsvt
arvindsvt / IndertOrUpdate
Last active March 29, 2024 12:21
IndertOrUpdate
function insertOrUpdate($table,$params=array()){
global $conn;
$sqlQuery = 'CREATE TABLE IF NOT EXISTS '.$table.' (id INT NOT NULL AUTO_INCREMENT, ';
foreach($params as $field=>$val){
if($field == 'id'){ continue ; }
$sqlQuery .= ' '.$field.' VARCHAR( 250 ),';
}
$sqlQuery .= ' PRIMARY KEY ( `id` ));';
@arvindsvt
arvindsvt / laravel-multi-auth-using-guards
Created March 18, 2024 18:18
laravel-multi-auth-using-guards
https://sagardhiman021.medium.com/exploring-multi-authentication-in-laravel-a-step-by-step-guide-to-implementation-edd3bf304fce
https://medium.com/@parthpatel0516/laravel-multi-auth-using-guards-with-example-web-authentication-98fccb37575e
https://techvblogs.com/blog/multiple-authentication-guards-laravel-9
https://www.youtube.com/watch?v=HmqIqRYgnO4&list=PLLUtELdNs2ZbX7T5wgbBR9wUXt5YPG-hm&index=6
@arvindsvt
arvindsvt / laravel-remove-public-from-url-using-htaccess
Created March 13, 2024 07:59
laravel-remove-public-from-url-using-htaccess
From : https://www.devopsschool.com/blog/laravel-remove-public-from-url-using-htaccess/
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
# Handle Authorization Header
@arvindsvt
arvindsvt / multiselect
Last active March 31, 2024 03:07
multiselect
https://www.youtube.com/watch?v=fZgGc9XoZ6U&list=RDCMUCkSqAEgVRpwb5KZeuMr9AZA&index=13
https://www.itsolutionstuff.com/post/how-to-store-multiple-select-values-in-laravelexample.html
https://www.youtube.com/watch?v=Ey9w4uwHUKs
https://www.codexworld.com/multi-select-dropdown-list-with-checkbox-jquery/
https://stackoverflow.com/questions/67138711/php-display-multi-select-from-array-values-with-pre-selected-options-user-previo
https://techsolutionstuff.com/post/how-to-store-multiple-checkbox-value-in-database-using-laravel
https://www.itsolutionstuff.com/post/laravel-8-multiple-image-upload-tutorialexample.html
multiselect
https://www.dotycat.com/cara-buat-menu-dropdown-sidebar-menggunakan-html-css-javascript
https://codepen.io/ray0315/pen/vgaqZN
@arvindsvt
arvindsvt / admin1
Last active April 14, 2024 13:14
admin1
composer create-project laravel/laravel:^10.0 example-app
php artisan make:migration create_subcategory_table --create=subcategory
php artisan make:model subcategory --migration
php artisan make:model subcategory -mc
php artisan make:view layouts.app
php artisan make:view products.index
php artisan make:view products.create
php artisan make:view products.edit
php artisan make:view products.show