Laravel 5.0 Documentation
files from previous versions of Laravel 4.x. These service providers provide various bootstrapping functions to your application, such as error handling, logging, route loading, and more. Of course, you are queue documentation. Laravel 4.2 introduces new Mailgun and Mandrill API drivers for the Mail functions. For many applications, this provides a faster and more reliable method of sending e-mails than update --no-scripts . The wildcard event listeners no longer append the event to your handler functions parameters. If you require finding the event that was fired you should use Event::firing() .0 码力 | 242 页 | 1.44 MB | 1 年前3
Laravel 3.2 Documentationinstallation / configuration details on PHP.net. Laravel uses the Mcrypt library for encryption and hash generation. Mcrypt typically comes pre-installed. If you can't find Mcrypt in the output of phpinfo() few things you should be aware of before using it. First, all Laravel cookies contain a "signature hash". This allows the framework to verify that the cookie has not been modified on the client. Secondly URL to an asset: $url = URL::to_asset('js/jquery.js'); URL Helpers There are several global functions for generating URLs designed to make your life easier and your code cleaner: Generating a URL0 码力 | 139 页 | 1.13 MB | 1 年前3
Learning Laravelconnect your models to various types of databases, Laravel offers its own ORM with a large set of functions to work with. The framework also provides migration and seeding and also features rollbacks. Event implement methods from AuthenticatesUsers to show your custom view paths. And you need implement other functions such as guard to use your new user guards. In this example my admin login is admin/login.blade 878d085490e4677b0b67ed) In app/Providers/RouteServiceProvider.php you will find the following functions which apply the middleware on every route within your app/Http/routes.php public function map(Router0 码力 | 216 页 | 1.58 MB | 1 年前3
Laravel 5.1 中文文档m File Illuminate\Contracts\Foundation\Application App Illuminate\Contracts\Hashing\Hasher Hash Illuminate\Contracts\Logging\Log Log Illuminate\Contracts\Mail\MailQueue Mail::queue() Il Illuminate\Events\Dispatcher events File Illuminate\Filesystem\Filesystem files Hash Illuminate\Contracts\Hashing\Hasher hash Input Illuminate\Http\Request request Lang Illuminate\Translation\Translator 的实现。这个方法不做任何密码校验和认证。 validateCredentials 方法比较给定$user 和$credentials 来认证用户。例如,这个方法比 较$user->getAuthPassword()字符串和经 Hash::make 处理的$credentials['password']。 这个方法只验证用户认证信息并返回布尔值。 7.2 Authenticatable 契约 既然我们已经探索了 UserProvider0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.2 中文文档legacy-database。 Str::randomBytes 方法被废弃,直接使用 PHP 的 random_bytes 即可。 Str::equals 方法被废弃,直接使用 PHP 的 hash_equals 方法即可。 Illuminate\View\Expression 被废弃,使用 Illuminate\Support\HtmlString 即 可。 贡献代码 1、缺陷报告 Illuminate\Events\Dispatcher events File Illuminate\Filesystem\Filesystem files Hash Illuminate\Contracts\Hashing\Hasher hash Lang Illuminate\Translation\Translator translator Log Illuminate\Log\Writer validateCredentials 方法比较给定 $user 和$credentials 来认证用户。例如,这个方法 比较 $user->getAuthPassword() 字符串和经 Hash::make 处理 的 $credentials['password']。这个方法只验证用户认证信息并返回布尔值。 Authenticatable 契约 既然我们已经探索了 UserProvider0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 5.3 中文文档中文学习资源 91 门面 类 服务容器绑定 Gate Illuminate\Contracts\Auth\Access\Gate Hash Illuminate\Contracts\Hashing\Hasher hash Lang Illuminate\Translation\Translator translator Log Illuminate\Log\Writer m File Illuminate\Contracts\Foundation\Application App Illuminate\Contracts\Hashing\Hasher Hash Illuminate\Contracts\Logging\Log Log 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 目录的文件名,附加唯一 hash 到文件名,从而实现缓存刷新。 例如,生成的文件名看上去是这样——all-16d570a7.css: elixir(function(mix) { mix.version('css/all.css'); }); 生成版本文件后,可以在视图中使用 Elixir 全局的 PHP 帮助函数 elixir 方法来加载相应的带 hash 值的前端资源,elixir0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 6.0 中文文档Illuminate\Filesystem\Filesystem files Gate Illuminate\Contracts\Auth\Access\Gate Hash Illuminate\Contracts\Hashing\Hasher hash Lang Illuminate\Translation\Translator translator Log Illuminate\Log\Logger Storage::disk() Illuminate\Contracts\Foundation\Application App Illuminate\Contracts\Hashing\Hasher Hash Illuminate\Contracts\Http\Kernel Illuminate\Contracts\Mail\MailQueue Mail::queue() Illuminate\ validateCredentials 方法比较给定 $user 和 $credentials 来 认证用户。例如,这个方法比较 $user->getAuthPassword() 字符 串和经 Hash::check 处理的 $credentials['password']。这个方 法根据密码是否有效返回布尔值 true 或 false。 Authenticatable 契约 既然我们已经探索了0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.6 中文文档Illuminate\Filesystem\Filesystem files Gate Illuminate\Contracts\Auth\Access\Gate Hash Illuminate\Contracts\Hashing\Hasher hash Lang Illuminate\Translation\Translator translator Log Illuminate\Log\Writer Storage::disk() Illuminate\Contracts\Foundation\Application App Illuminate\Contracts\Hashing\Hasher Hash Illuminate\Contracts\Http\Kernel Illuminate\Contracts\Logging\Log Log Illuminate\Contracts\Mail\MailQueue 中文学习资源:http://laravelacademy.org 149 Redis 简介 Redis 是一个开源的、高级的键值对存储系统,经常被用作数据结构服务器,因为其支持字符串、Hash、列表、集合和有序集合等数据结构。 在 Laravel 中使用 Redis 之前,需要通过 Composer 安装 predis/predis 包: composer require predis/predis0 码力 | 377 页 | 14.56 MB | 1 年前3
共 8 条
- 1













