App下載

詞條

大約有 7,000 項符合查詢結(jié)果 ,庫內(nèi)數(shù)據(jù)總量為 78,250 項。(搜索耗時:0.0048秒)

5301.Laravel 8 對驅(qū)動的要求

...。對于一個新建的 Laravel 應用程序,你只需要在 config/app.php 配置文件的 providers 數(shù)組中取消對該提供者的注釋即可。 該提供者將允許你注冊廣播授權(quán)路由和回調(diào)。

http://www.o2fo.com/laravel_8/laravel_8-ld8m3h8y.html

5302.Laravel 8 與 Pusher 兼容的 Laravel Websockets

laravel-websockets 是適用于 Laravel 的純 PHP,與 Pusher 兼容的 websocket 軟件包。 該軟件包使您無需外部 Websocket 提供商或 Node 即可充分利用 Laravel 廣播的全部功能。 有關安裝和使用此軟件包的更多信息,請查閱其官方文檔。

http://www.o2fo.com/laravel_8/laravel_8-gp1j3h94.html

5303.Laravel 8 ShouldBroadcast 接口

...ast 接口。這會讓 Laravel 在事件被觸發(fā)時廣播該事件:<?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contract...

http://www.o2fo.com/laravel_8/laravel_8-7em33h9a.html

5304.Laravel 8 授權(quán)頻道

...過的用戶才可以收聽私有頻道。我們可以在 routes/channels.php 文件中,定義我們頻道的授權(quán)規(guī)則。 在這個例子中,我們需要去驗證任何試圖收聽 order.1 私有頻道的用戶,是否是訂單實際上的創(chuàng)建者:Broadcast::channel('order.{orderId}&#...

http://www.o2fo.com/laravel_8/laravel_8-t1vw3h9b.html

5305.Laravel 8 定義廣播事件

... 和 PresenceChannels 實例代表需要頻道授權(quán)的私有頻道:<?php namespace App\Events; use App\Models\User; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; us...

http://www.o2fo.com/laravel_8/laravel_8-a9xf3h9d.html

5306.Laravel 8 定義授權(quán)回調(diào)

...道授權(quán)的邏輯。這是在你的應用程序附帶的 routes/channels.php 文件中完成的 。 在這個文件中,你可以使用 Broadcast::channel 方法注冊頻道授權(quán)回調(diào):Broadcast::channel('order.{orderId}', function ($user, $orderId) { return $user->id === Order::find...

http://www.o2fo.com/laravel_8/laravel_8-p23d3h9l.html

5307.Laravel 8 配置

...緩存提供了豐富而統(tǒng)一的 API,其緩存配置位于 config/cache.php 文件中。在該文件中你可以指定應用默認使用哪個緩存驅(qū)動。Laravel 支持當前流行的后端緩存,例如 Memcached 和 Redis。 緩存配置文件還包含各種其他選項,這些選項都記...

http://www.o2fo.com/laravel_8/laravel_8-vaj53ha5.html

5308.Laravel 8 數(shù)據(jù)庫

...ger('expiration'); }); 提示:你也可以使用 Artisan 命令 php artisan cache:table 來生成合適的遷移。

http://www.o2fo.com/laravel_8/laravel_8-fz1s3hao.html

5309.Laravel 8 Memcached

...展包 。你可以把所有的 Memcached 服務器都列在 config/cache.php 配置文件中:'memcached' => [ [ 'host' => '127.0.0.1', 'port' => 11211, 'weight' => 100 ], ],Copy 你還可以將 host 選項設置為 UNIX socket 路徑。如果你...

http://www.o2fo.com/laravel_8/laravel_8-efva3hap.html

5310.Laravel 8 Redis

在使用 Laravel 的 Redis 緩存之前,你需要通過 PECL 安裝 PhpRedis PHP 擴展,或者通過 Composer 安裝 predis/predis 包(~1.0)。如需了解更多關于 Redis 的配置,請參考 Laravel Redis 文檔。

http://www.o2fo.com/laravel_8/laravel_8-isza3haq.html

抱歉,暫時沒有相關的微課

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時沒有相關的視頻課程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

抱歉,暫時沒有相關的教程

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

5301.Laravel 8 對驅(qū)動的要求

...。對于一個新建的 Laravel 應用程序,你只需要在 config/app.php 配置文件的 providers 數(shù)組中取消對該提供者的注釋即可。 該提供者將允許你注冊廣播授權(quán)路由和回調(diào)。

http://www.o2fo.com/laravel_8/laravel_8-ld8m3h8y.html

5302.Laravel 8 與 Pusher 兼容的 Laravel Websockets

laravel-websockets 是適用于 Laravel 的純 PHP,與 Pusher 兼容的 websocket 軟件包。 該軟件包使您無需外部 Websocket 提供商或 Node 即可充分利用 Laravel 廣播的全部功能。 有關安裝和使用此軟件包的更多信息,請查閱其官方文檔。

http://www.o2fo.com/laravel_8/laravel_8-gp1j3h94.html

5303.Laravel 8 ShouldBroadcast 接口

...ast 接口。這會讓 Laravel 在事件被觸發(fā)時廣播該事件:<?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contract...

http://www.o2fo.com/laravel_8/laravel_8-7em33h9a.html

5304.Laravel 8 授權(quán)頻道

...過的用戶才可以收聽私有頻道。我們可以在 routes/channels.php 文件中,定義我們頻道的授權(quán)規(guī)則。 在這個例子中,我們需要去驗證任何試圖收聽 order.1 私有頻道的用戶,是否是訂單實際上的創(chuàng)建者:Broadcast::channel('order.{orderId}&#...

http://www.o2fo.com/laravel_8/laravel_8-t1vw3h9b.html

5305.Laravel 8 定義廣播事件

... 和 PresenceChannels 實例代表需要頻道授權(quán)的私有頻道:<?php namespace App\Events; use App\Models\User; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; us...

http://www.o2fo.com/laravel_8/laravel_8-a9xf3h9d.html

5306.Laravel 8 定義授權(quán)回調(diào)

...道授權(quán)的邏輯。這是在你的應用程序附帶的 routes/channels.php 文件中完成的 。 在這個文件中,你可以使用 Broadcast::channel 方法注冊頻道授權(quán)回調(diào):Broadcast::channel('order.{orderId}', function ($user, $orderId) { return $user->id === Order::find...

http://www.o2fo.com/laravel_8/laravel_8-p23d3h9l.html

5307.Laravel 8 配置

...緩存提供了豐富而統(tǒng)一的 API,其緩存配置位于 config/cache.php 文件中。在該文件中你可以指定應用默認使用哪個緩存驅(qū)動。Laravel 支持當前流行的后端緩存,例如 Memcached 和 Redis。 緩存配置文件還包含各種其他選項,這些選項都記...

http://www.o2fo.com/laravel_8/laravel_8-vaj53ha5.html

5308.Laravel 8 數(shù)據(jù)庫

...ger('expiration'); }); 提示:你也可以使用 Artisan 命令 php artisan cache:table 來生成合適的遷移。

http://www.o2fo.com/laravel_8/laravel_8-fz1s3hao.html

5309.Laravel 8 Memcached

...展包 。你可以把所有的 Memcached 服務器都列在 config/cache.php 配置文件中:'memcached' => [ [ 'host' => '127.0.0.1', 'port' => 11211, 'weight' => 100 ], ],Copy 你還可以將 host 選項設置為 UNIX socket 路徑。如果你...

http://www.o2fo.com/laravel_8/laravel_8-efva3hap.html

5310.Laravel 8 Redis

在使用 Laravel 的 Redis 緩存之前,你需要通過 PECL 安裝 PhpRedis PHP 擴展,或者通過 Composer 安裝 predis/predis 包(~1.0)。如需了解更多關于 Redis 的配置,請參考 Laravel Redis 文檔。

http://www.o2fo.com/laravel_8/laravel_8-isza3haq.html

抱歉,暫時沒有相關的文章

w3cschool 建議您:

  • 檢查輸入的文字是否有誤

熱門課程