Contents:
How should he go about it?
Where should I add this exactly?
Did you read that?
Is that important to use the repository design pattern in laravel?
How should he go about it?
Where should I add this exactly?
Did you read that?
Is that important to use the repository design pattern in laravel?
skys215 2019-12-16 08:13:50
so I think it’s nothing todo with laravel, it’s mysql/pgsql/sqlserver problem
2019-12-16 08:18:56
LiceaPacheco 2019-12-16 08:11:02
You can sabe the data in local db storage
thanks ..il research
LiceaPacheco 2019-12-16 08:19:30
Your welcome
2019-12-16 08:28:14
okay..i dont know how to go about it..but il will research more..thanks for the input
vek866q 2019-12-16 08:51:47
2019-12-16 07:59:55
quick quiz…is there a way to use laravel offline(in this case do crud offline) then sync the db once there is internet connection??
You can implement caching and JavaScript local storage
Zephie 2019-12-16 10:02:53
A friend is trying to write some curl request in PHP but its not authenticating… Its documented in python.
Zephie 2019-12-16 10:03:13

Zephie 2019-12-16 10:03:37
His attempt…
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_HTTPHEADER => [
‘Content-Type: application/json’,
‘Authorization: myapikey’
],
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_URL => ‘https://autoextract.scrapinghub.com/v1/extract’,
CURLOPT_POST => 1,
CURLOPT_POSTFIELDS => [
‘url’ => ‘https://blog.scrapinghub.com/gopro-study’,
‘pageType’ => ‘article’
]
]);
$resp = curl_exec($curl);
curl_close($curl);
return $resp;
});
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_HTTPHEADER => [
‘Content-Type: application/json’,
‘Authorization: myapikey’
],
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_URL => ‘https://autoextract.scrapinghub.com/v1/extract’,
CURLOPT_POST => 1,
CURLOPT_POSTFIELDS => [
‘url’ => ‘https://blog.scrapinghub.com/gopro-study’,
‘pageType’ => ‘article’
]
]);
$resp = curl_exec($curl);
curl_close($curl);
return $resp;
});
The Predictive Power of Web Scraped Product Data For Institutional Investors: A GoPro Case Study – Scrapinghub
Learn how Eagle Alpha predicted GoPro’s quarterly revenues using web scraped alternative data.
Learn how Eagle Alpha predicted GoPro’s quarterly revenues using web scraped alternative data.
Zephie 2019-12-16 10:05:28

Zephie 2019-12-16 10:05:56
How should he go about it??
skys215 2019-12-16 10:16:16
it’s more like php problem, not Laravel
skys215 2019-12-16 10:16:49
where is your token field in CURLOPT_POSTFIELD?
Fatima 2019-12-16 11:56:27
Hello guys π
I want to use uxweb sweet-alert
But l have this error
My laravel is 6π
I want to use uxweb sweet-alert
But l have this error
My laravel is 6π
Fatima 2019-12-16 11:56:42

muhamed_didovic 2019-12-16 11:59:44
@fatima1997i try like this:
Add this in composer.json and update;
“uxweb/sweet-alert”: “dev-master”
Add this in composer.json and update;
“uxweb/sweet-alert”: “dev-master”
muhamed_didovic 2019-12-16 11:59:49
and run composer install
2019-12-16 12:02:23
or use https://sweetalert2.github.io/
sweetalert2.github.io
A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript’s popup boxes
A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript’s popup boxes
Fatima 2019-12-16 12:14:59
muhamed_didovic 2019-12-16 11:59:44
@fatima1997i try like this:
Add this in composer.json and update;
“uxweb/sweet-alert”: “dev-master”
Add this in composer.json and update;
“uxweb/sweet-alert”: “dev-master”
Where should I add this exactly?
muhamed_didovic 2019-12-16 12:15:14
composer.json file
muhamed_didovic 2019-12-16 12:22:10

muhamed_didovic 2019-12-16 12:22:15
like that
muhamed_didovic 2019-12-16 12:23:34
I see you need to learn a little bot about composer and what does it do
muhamed_didovic 2019-12-16 12:24:06
also if you can find someone to explain to you these things even better
Fatima 2019-12-16 12:24:13
muhamed_didovic 2019-12-16 12:23:34
I see you need to learn a little bot about composer and what does it do
I knowπ’π
muhamed_didovic 2019-12-16 12:24:34
np π
Fatima 2019-12-16 12:24:48
I think didn’t work again
Fatima 2019-12-16 12:25:04

Fatima 2019-12-16 12:25:33
Maybe because of the version
muhamed_didovic 2019-12-16 12:26:19
composer run without any issues
muhamed_didovic 2019-12-16 12:26:29
run composer update
Fatima 2019-12-16 15:28:27
muhamed_didovic 2019-12-16 12:26:29
run composer update
It did work
Fatima 2019-12-16 15:28:39
Thanks for your helpπΉπΉ
muhamed_didovic 2019-12-16 15:31:04
Np, glad that I could help
faramarz_q 2019-12-16 15:44:11
Hi, any body knows a good mysql monitoring tool, even a command line one would be appreciated
codetrend 2019-12-16 15:58:52
Fatima 2019-12-16 12:25:04
try this , remove the composer.lock , then run composer update
Ehsan_hosseiny 2019-12-16 17:14:09
hi,i want set regex in request validation that mobile should be in like (0098 or 98 or +98 or 091)
zoroaday 2019-12-16 18:10:14
DesolatorMagno 2019-12-11 23:58:11
Did you read that?
no it doesnt explain….i need to configure the environment paths
DesolatorMagno 2019-12-16 18:24:21
Yes, you need to do it.
2019-12-16 18:39:05
hi I have a question any body yes .php
2019-12-16 18:41:09
I have a form I want to save the date and time by myself in the form I choose to be stored in the database
2019-12-16 19:14:12
2019-12-16 18:39:05
hi I have a question any body yes .php
just store the date and time function as value… eg value=”<?echo function()?>” then put the input as a readonly incase you dont want it modified
bunthoeunsoun 2019-12-16 19:15:57
Can show me how to use @if in blade all guide??
2019-12-16 19:16:07
Is that important to use the repository design pattern in laravel?
bunthoeunsoun 2019-12-16 19:17:37
abbu ask me??
2019-12-16 19:17:48
https://laravel.com/docs/5.0/templates
Laravel – The PHP Framework For Web Artisans – Laravel
Laravel is a PHP web application framework with expressive, elegant syntax. Weβve already laid the foundation β freeing you to create without sweating the small things.
Laravel is a PHP web application framework with expressive, elegant syntax. Weβve already laid the foundation β freeing you to create without sweating the small things.
2019-12-16 19:18:15
@if (count($records) === 1)
I have one record!
@elseif (count($records) > 1)
I have multiple records!
@else
I don’t have any records!
@endif
I have one record!
@elseif (count($records) > 1)
I have multiple records!
@else
I don’t have any records!
@endif
@unless (Auth::check())
You are not signed in.
@endunless
bunthoeunsoun 2019-12-16 19:21:06
How about $record we get from where??
bunthoeunsoun 2019-12-16 19:21:32
2019-12-16 19:18:15
@if (count($records) === 1)
I have one record!
@elseif (count($records) > 1)
I have multiple records!
@else
I don’t have any records!
@endif
I have one record!
@elseif (count($records) > 1)
I have multiple records!
@else
I don’t have any records!
@endif
@unless (Auth::check())
You are not signed in.
@endunless
this one
skys215 2019-12-16 19:22:39
it’s passed from controller
2019-12-16 19:23:24
bunthoeunsoun 2019-12-16 19:17:37
abbu ask me??
I Asked everyone in this group