Posts

How to remove public from url in laravel, after git clone server error

  How to remove public from url in laravel 9 For Local i got the answer we can don this by :- cutting and pasting index.php & htaccess from public folder to root directory and the edit in index.php just change:- /../vender/autoload.php to ./vender/autoload.php and $app= /../vender/app.php to $app = ./vender/app.php For Server <IfModule mod_rewrite . c > RewriteEngine On RewriteRule ^(.*)$ public/$1 [L] </IfModule> After git clone server error When you are cloning a Laravel project from GitHub, you have to : Run composer install on your cmd or terminal Copy .env.example file to .env on the root folder Open your .env file and change the database name ( DB_DATABASE ) to whatever you have, username ( DB_USERNAME ) and password ( DB_PASSWORD ) field correspond to your configuration Run php artisan key:generate Run php artisan migrate Run php artisan serve Go to http://localhost:8000/

MAIL PROVIDERS

Image
 

TWILIO MESSAGE SERVICE

Do some basic steps in TWILIO: https://console.twilio.com/us1/account/manage-account/general-settings https://console.twilio.com/us1/develop/sms/settings/geo-permissions https://console.twilio.com/us1/develop/sms/try-it-out/send-an-sms https://console.twilio.com/us1/monitor/logs/debugger/errors Helper Function: use Twilio\Rest\ Client ; function sendSMS ( $req_dialCode , $req_number , $req_message ){     try {         $account_sid =   env ( 'TWILIO_SID' );         $account_token =   env ( 'TWILIO_TOKEN' );         $account_from =   env ( 'TWILIO_FROM' );         if ( isset ( $req_dialCode ) && isset ( $req_number )){         $client = new Client ( $account_sid , $account_token );                 // $client->messages->create('+91'.$req_number,[         $client -> messages -> crea...

reCAPTURE V3 IMPLEMENTATION IN LARAVEL PROJECT

  Add in config/services.php     'recaptcha' => [         'site_key' => env('RECAPTCHA_SITE_KEY'),         'secret_key' => env('RECAPTCHA_SECRET_KEY'),     ], Add in .env file # local developer credential RECAPTCHA_SITE_KEY =value RECAPTCHA_SECRET_KEY =value Add validation in controller function   $validator = $request -> validate (             [               "name" => "required" ,               "contact_no" => "required|numeric" ,               "email_id" => "required" ,               "message" => "required" ,             //   "g_recaptcha_response"=> "required",               "g_recaptcha_response" => [ "required" ,   function ( $attribut...

STRIPE

Image
For Duplicate Card  https://github.com/stripe-archive/stripe-payments-demo/issues/45 https://github.com/stripe/stripe-react-native/issues/899

BEST WEBSITES FOR DEVELOPERS

Image
SMS RECIEVED INBOX ONLINE FREE NUMBERS  https://textrapp.com/free-tools/free-receive-sms-online-australia-61480089451 Welcome to your professional developer community https://www.kashipara.com/  THIS WEBISTE SHOWS DIFFERENT TIMEZONES. World Clock & Time Converter https://www.worldtimebuddy.com Change Timezone (Time Shift) EXTENSION FOR FIREFOX BROWSER to change the local timezone. FULL CALENDER   https://www.webslesson.info/2021/03/how-to-implement-fullcalendar-in-laravel-8-using-ajax.html What Your Mindgrasp AI Assistant Can Do https://mindgrasp.ai/ Become an Expert React Native Developer https://galaxies.dev/ Playgroundai Create graphics like a pro without being one. https://playgroundai.com/ GitHub Copilot extension Laravel Taiwindcss Project Admin side https://github.com/cruip/laravel-tailwindcss-admin-dashboard-template Cpu - Monkey https://www.cpu-monkey.com/ https://www.3dmark.com/ Notbookcheck check benchmark etc.. http s://www.notebookcheck.net/AMD-E-Ser...

TIMEZONE & CHANGE TIMEZONE

Image
 IN YOUR COMPUTER  THERE ARE CONTROL PANEL, GO TO DATE SECTION, AND SELECT TIMEZONE. IN THIS BOX, SELECT DATE AND TIME. AND CHANGE TIMEZONE OPTION. THEN CHANGE TIMEZONE AND SET IT. IT REFLECTS IMMEDIATELY IN YOUR SYSTEM. YOU CAN USE EXTENSIONS ALSO. + TIMEZONE HAVING UTC GMT and EPOCH=> https://www.epochconverter.com/