Which one is best plugin to build chart in laravel?

|
Bittle 2020-07-19 22:32:13
Bittle 2020-07-19 07:10:12
Hi! I have a ratchet websocket running in example.com:8009. Is there a way to broadcast to the ratchet websocket and send messages to all connected users from laravel (anywhere in php code)?

I figured it out using ratchet pawl: https://github.com/ratchetphp/Pawl

GitHub – ratchetphp/Pawl: Asynchronous WebSocket clientGitHub
Asynchronous WebSocket client. Contribute to ratchetphp/Pawl development by creating an account on GitHub.
itechsoft 2020-07-19 22:39:03
flyingdragons 2020-07-19 10:59:17
https://stackcoder.in/posts/comment-and-like-system-using-disqus

I have that running already
But I want to learn laravel comments box.

Mohammad_Agbareya 2020-07-19 23:53:37
laravel_discuss-45566.jpg

Mohammad_Agbareya 2020-07-19 23:53:48
Mohammad_Agbareya 2020-07-19 23:53:37

Hi, is this a good way to register policies programmatically or there are better ways to do it ?

Mohammad_Agbareya 2020-07-20 00:20:06
In my case I want to use it with a function that returns an array instead of the array
oxbir 2020-07-20 00:29:13
How to import categories in menu and submenu?
oxbir 2020-07-20 00:29:48
I want to create a megamenu And I want to import categories to the menu and sub-menu for link.

I have two tables categories, knowledge_rooms. and I inastalled sluggable package, My laravel version is 5.8

categories table

public function up()
{
Schema::create(‘categories’, function (Blueprint $table) {
$table->bigIncrements(‘id’);
$table->string(‘name_fa’);
$table->integer(‘parent_id’);
$table->timestamps();
});
}

knowledge_rooms table

public function up()
{
Schema::create(‘knowledge_rooms’, function (Blueprint $table) {
$table->bigIncrements(‘id’);
$table->string(‘title’);
$table->string(‘lang’);
$table->string(‘slug’);
$table->bigInteger(‘user_id’)->unsigned();
$table->foreign(‘user_id’)->references(‘id’)->on(‘users’)->onDelete(‘cascade’);
$table->timestamps();
});

Schema::create(‘category_knowledge_room’, function (Blueprint $table) {
$table->bigInteger(‘category_id’)->unsigned();
$table->bigInteger(‘knowledge_room_id’)->unsigned();
$table->primary([‘category_id’, ‘knowledge_room_id’]);
$table->foreign(‘category_id’)->references(‘id’)->on(‘categories’)->onDelete(‘cascade’);
$table->foreign(‘knowledge_room_id’)->references(‘id’)->on(‘knowledge_rooms’)->onDelete(‘cascade’);
});
}

AppSeerviceProvider.php

public function boot()
{
view()->composer(‘*’, function($view) {
$view->with(‘menus’, Category::with(‘knowledgeRooms’)->whereParent_id(0)->get());
});
}

Category.php

public function getChild ()
{
return $this->hasMany(Category::class, ‘parent_id’, ‘id’);
}

public function knowledgeRooms()
{
return $this->belongsToMany(KnowledgeRoom::class);
}

header.blade.php

<div class=”collapse navbar-collapse” id=”navbarSupportedContent”>
<ul class=”navbar-nav ml-auto”>
@foreach($menus as $menu)
{{–@continue($menu->parent_id !=0)–}}
<li class=”nav-item dropdown”>
<a class=”nav-link dropdown-toggle” href=”#” id=”navbarDropdown” role=”button” data-toggle=”dropdown” aria-haspopup=”true” aria-expanded=”false”>
<i class=”fas {{ $menu->icon }} fa-2x”></i>
<span>{{ $menu->name_fa }}</span>
</a>
<div class=”dropdown-menu” aria-labelledby=”navbarDropdown”>
@foreach($menu as $submenu)
@continue($submenu->parent_id == 0)
@foreach($submenu->knowledgeRooms as $knowledgeRoom)
{{–@if($submenu->parent_id == $menu->id)–}}
<a class=”nav-link” href=”{{ $knowledgeRoom->path() }}”>
<span>{{ $submenu->name_fa }}</span>
</a>
{{—-}}
{{–<a class=”dropdown-item” href=”>–}}
{{–{{ $submenu->name_fa }}–}}
{{–</a>–}}
{{–@endforeach–}}
{{–@endif–}}
@endforeach
@endforeach
</div>
</li>
@endforeach
</ul>
</div>

web.php

Route::get(‘/knowledge-rooms/{knowledge-roomSlug}’, ‘KnowledgeRoomController@single’);

KnowledgeRoom.php

<?php

namespace App;

use IlluminateDatabaseEloquentModel;
use CviebrockEloquentSluggableSluggable;

class KnowledgeRoom extends Model
{
use Sluggable;

/**
* Return the sluggable configuration array for this model.
*
* @return array
*/
public function sluggable

oxbir 2020-07-20 00:29:58
()
{
return [
‘slug’ => [
‘source’ => ‘title’
]
];
}

public function path()
{
return “/knowledge-rooms/$this->slug”;
}

public function categories()
{
return $this->belongsToMany(Category::class);
}

public function user()
{
return $this->belongsTo(User::class);
}
}

Give an example of this code and I will solve my problem in the future.

I get this error

[error][1]

[1]: https://i.stack.imgur.com/z5FX7.png

oxbir 2020-07-20 00:55:41
Answer my qustion plese
2020-07-20 02:26:56
oxbir 2020-07-20 00:55:41
Answer my qustion plese

Share your code with pastebin . com

oxbir 2020-07-20 02:27:43
https://stackoverflow.com/questions/62985533/how-to-import-categories-in-menu-and-submenu

How to import categories in menu and submenu?Stack Overflow
I want to create a megamenu And I want to import categories to the menu and sub-menu for link.
I have two tables categories, knowledge_rooms. and I inastalled sluggable package, My laravel version…
rijisoft 2020-07-20 05:47:17
Hi

Is it a quickway to integrate dicomviewer to laravel app

( More description : radiologist files that doctor see the patient picture or situation)

Sometimes it’s a single one dimension file

In some cases it has many layers and it’s in 3d

rebory 2020-07-20 05:51:38
which one is best plugin to build chart in laravel?
Tenet92 2020-07-20 10:04:47
A useful simple class for throw error in Laravel validation format:
πŸ‘πŸ‘πŸ‘πŸ‘πŸ€©πŸ€©πŸ‘πŸΎπŸ‘πŸΎπŸ˜Ώ
https://gist.github.com/nimaamiri92/0d0112204927942e568d8d583cc99913

Throw error with Laravel validation error formatGist
Throw error with Laravel validation error format. GitHub Gist: instantly share code, notes, and snippets.
Piyushchoubisa 2020-07-20 10:12:18
laravel_discuss-45585.jpg

Piyushchoubisa 2020-07-20 10:13:04
Hy guys, how can i solve this
Piyushchoubisa 2020-07-20 10:13:22
My code is like
Piyushchoubisa 2020-07-20 10:13:40
laravel_discuss-45589.jpg

Piyushchoubisa 2020-07-20 10:13:40
laravel_discuss-45588.jpg

rijisoft 2020-07-20 10:26:17
hey guys

In local i request to an external api and everthing is ok

In host Request to api and responses is
cURL Error #:SSL certificate problem: certificate has expired

whats wrong ?!

flyingdragons 2020-07-20 10:40:07
rijisoft 2020-07-20 10:26:17
hey guys

In local i request to an external api and everthing is ok

In host Request to api and responses is
cURL Error #:SSL certificate problem: certificate has expired

whats wrong ?!

https://stackoverflow.com/questions/731117/error-using-php-curl-with-ssl-certificates

Error using PHP cURL with SSL certificatesStack Overflow
I’m trying to write a PHP script using cURL that can authorize a user through a page that uses an SSL certificate, in addition to username and password, and I can’t seem to get past the SSL cert st…
Relaxed Guy 2020-07-20 13:52:58
Guys am stuck
Relaxed Guy 2020-07-20 13:54:22
Who has worked with crud laravel using the the laravel package for firebase kreait/firebase
2020-07-20 14:22:14
Hello how can i load laravel project with https?

With http my css are load
But with https css and js not loaded

Siberfx 2020-07-20 14:52:58
Show your usage
Siberfx 2020-07-20 14:53:27
And .env file too “APP_URL”
rebory 2020-07-20 15:00:59
laravel_discuss-45601.jpg

rebory 2020-07-20 15:01:28
laravel_discuss-45602.jpg
how i convert this in collection
rebory 2020-07-20 15:03:49
any one available 4 reply?
arsangamal 2020-07-20 15:55:18
rebory 2020-07-20 15:01:28
how i convert this in collection

you can use the collect($array) function

Ayushi2020 2020-07-20 16:08:56
Urgent hiring Laravel Developer
Location- Gomti Nagar (Vibhuti Nagar), Lucknow.
Required Experience: 2+years.
Those who can join immediately or less than 15 days are preferred.

Job Description:
Strong knowledge of the Laravel Framework and core PHP.
Understanding the fully synchronous behavior of PHP.
Understanding of MVC design patterns.
Basic understanding of front-end technologies, such as JavaScript, HTML5, and CSS3 Knowledge of object-oriented PHP programming.
Understanding accessibility and security compliance {{Depending on the specific project}}
Understanding fundamental design principles behind a scalable application.
User authentication and authorization between multiple systems, servers, and environments.
Creating database schemas that represent and support business processes.
Familiarity with SQL/NoSQL databases and their declarative query languages.
Proficient understanding of code versioning tools, such as Git.

Shijinsubramanniam 2020-07-20 17:48:47
Where do I get best complete laravel tutorials?
isofdev 2020-07-20 17:49:52
Shijinsubramanniam 2020-07-20 17:48:47
Where do I get best complete laravel tutorials?

laravel.com

badralwattar 2020-07-20 18:38:15
Guys
I want to make an article with code snippet,
How can I implement that ?
Anu 2020-07-20 19:12:06
http://ktuworld.com/anu_e5

Is it possible to make such website with laravel??

rilwansmith 2020-07-20 19:45:22
Anu 2020-07-20 19:12:06
http://ktuworld.com/anu_e5

Is it possible to make such website with laravel??

Yes

Sales.com 2020-07-20 20:04:17
http://ritechnology.in

Ri Technologyritechnology.in
We focuses on technology, design, strategy, & support. We have been digital experiences for over + years and we believe in building comprehensive solutions that adapt to real world business situations.
2020-07-20 20:42:48
I wanted to introduce a shop site tutorial, can anyone introduce me?
oxbir 2020-07-20 20:50:17
I have a path method in Article model.

Article.php

public function path()
{
return “/articles/$this->slug”;
}

AppServiceProvider.php

public function boot()
{
view()->composer(‘*’, function($view) {
$view->with(‘menus’, Category::with([‘articles’, ‘children.articles’])->where(‘parent_id’, 0)->get());
});
}

Category.php

public function children ()
{
return $this->hasMany(Category::class, ‘parent_id’, ‘id’);
}

public function articles()
{
return $this->belongsToMany(Article::class);
}

header.blade.php

{{–<ul>–}}
@foreach($menus as $menu)
{{–<li>–}}
{{– $menu->name_fa –}}
{{–<ul>–}}
@foreach ($menu->children as $child)
@if ($child)
{{ dd($child) }}
@foreach ($child->articles as $article)
{{–<li>–}}
{{–<a href=”{{ $article->path() }}”>–}}
{{– $child->name_fa –}}
{{–</a>–}}
{{–</li>–}}
@endforeach
@endif
@endforeach
{{–</ul>–}}
{{–</li>–}}
@endforeach
{{–</ul>–}}

I see….

[![dd][1]][1]

[1]: https://i.stack.imgur.com/VVS10.png

2020-07-20 21:55:57
https://www.fiverr.com/s2/251c8879ab

jahanzaibtariq2 : I will clone, migrate transfer or move wordpress website to another host or subdomain for $20 on fiverr.comFiverr.com
For only $20, jahanzaibtariq2 will clone, migrate transfer or move wordpress website to another host or subdomain. | Hi,Are you looking tomigrate wordpress website? then I am here toclone, migrate, transfer your wordpress site.Services that I am offering in this gig,Clone or Duplicateyour | On Fiverr
Shubham 2020-07-20 22:46:00
Hello can anyone record our computer screen without our permission??
Shubham 2020-07-20 22:47:19
Because our college taking online examination and we want to do cheatπŸ˜‚πŸ˜‚, that’s why I need to know can they record our screen??
Shubham 2020-07-20 22:47:47
Please let me know
flyingdragons 2020-07-20 22:49:54
No they can’t. Unless they require you to turn on web cam
flyingdragons 2020-07-20 22:50:54
Shubham 2020-07-20 22:47:47
Please let me know

And there is a possibility of using heatmaps by which they can track user movements accross the page

Shubham 2020-07-20 22:51:31
Yes they ask for web cam
Shubham 2020-07-20 22:51:45
To turn on web cam
flyingdragons 2020-07-20 22:51:55
Hmmm
natghi2010 2020-07-20 22:52:37
Shubham 2020-07-20 22:51:31
Yes they ask for web cam

Suprise them. Be nude.

flyingdragons 2020-07-20 22:52:49
Shubham 2020-07-20 22:51:45
To turn on web cam

You can use another monitor connected with your system and ask someone to paste the answers and then you can use

|