Tuesday, October 23, 2018

khan academi



সকলের জন্য, সব জায়গায় বিনামূল্যে বিশ্বমানের শিক্ষা পৌঁছে দেওয়াই আমাদের লক্ষ্য।
খান একাডেমি একটি 501(c)(3) অলাভজনক প্রতিষ্ঠান। খান একাডেমি অনুদান অথবা স্বেচ্ছাসেবা প্রদান করুন আজই!link

10 less-known (but awesome!) Laravel Collections methods

10 less-known (but awesome!) Laravel Collections methods

Laravel Eloquent is awesome – probably I don’t need to tell you that. What is less known is the list of methods to work with Eloquent Collections. You can filter them, slice them, easily modify etc. But let’s look at it one by one.
A little notice here – that Collections are a broader term, whereas Eloquent Collections are the implementation of these broader Collections. So everything that we cover here in this article can be used for both instances.

Json placehoder demo site

<?php
$url="https://jsonplaceholder.typicode.com/photos";

$ch = curl_init();

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

curl_setopt($ch, CURLOPT_URL,$url);
$result=curl_exec($ch);
curl_close($ch);

echo "<pre>";
//var_dump(json_decode($result));
echo "</pre>";

$abc=json_decode($result);
foreach ($abc as $key => $value) {
echo $value->id;
}

This site will give you a banch of api data for test api jsonlink

cURL Requests with PHP

Introduction

cURL allows transfer of data across a wide variety of protocols, and is a very powerful system. It's widely used as a way to send data across websites, including things like API interaction and oAuth. cURL is unrestricted in what it can do, from the basic HTTP request, to the more complex FTP upload or interaction with an authentication enclosed HTTPS site. We'll be looking at the simple difference between sending a GET and POST request and dealing with the returned response, as well as highlighting some useful parameters.link

Laravel 5 import export to excel and csv using maatwebsite exampl

In this post i will show you how to import excel or csv to store in database and how to export or download excel or csv file from database table by maatwebsite. maatwebsite packages throught you can easily get data, also you can group by data, also create more then one sheet etc. so now i show you simple example of items table data, you can donwload in xls, xlsx and csv formate and also you import data in xls, xlsx and csv formate file. In following few step you can implement import and export both function in your project. First see your browser preview will become like this:link

learning sites

One of the best site for learninghttps://scotch.io/tag/css

laravel blog

Hey, I'm Matt Stauffer, partner & technical director at Tighten.https://mattstauffer.com/