Laravel 3.2 Documentation............................................................................. 70 Retrieving A Language Line .......................................................................................... Enjoy Laravel? Laravel is a powerful framework that emphasizes flexibility and expressiveness. Users new to Laravel will enjoy the same ease of development that is found in the most popular and lightweight Laravel's modular packaging system. The Laravel Bundle Repository is already populated with quite a few features that can be easily added to your application. You can either download a bundle repository to your0 码力 | 139 页 | 1.13 MB | 1 年前3
Laravel 5.0 Documentation
Miscellaneous xiv. Localization i. Introduction ii. Language Files iii. Basic Usage iv. Pluralization v. Validation Localization vi. Overriding Package Language Files xv. Mail i. Configuration ii. Basic structure to the default Laravel project. This new structure serves as a better foundation for building robust application in Laravel, as well as embraces new auto-loading standards (PSR-4) throughout the namespace. This default namespace can be quickly changed using the new app:name Artisan command. Controllers, middleware, and requests (a new type of class in Laravel 5.0) are now grouped under the app/Http0 码力 | 242 页 | 1.44 MB | 1 年前3
The Laravel Handbook
by developers, but it has some unique features that make it a great language for Web Development and Laravel figured out how to take advantage of the best features of PHP. On Twitter I can only see love love for Laravel. Much like how it happens for Rails. This is not a “new framework of the month” kind of thing. Laravel has been around since 2011, well before modern frontend tools like React and Vue directory, for example. In there, run: composer create-project laravel/laravel first To create a new project in a folder called first . Now go into that folder and run php artisan serve : cd first0 码力 | 111 页 | 14.25 MB | 1 年前3
Laravel 6.0 中文文档middleware the job should pass through. * * @return array */ public function middleware() { return [new RateLimited]; } 懒集合 许多开发者已经使用过 Laravel 功能强大的集合方法了,在 Laravel 6.0 中新引入了一个 LazyCollection 类来对 Collection deny 方法, 则可以忽略此更新: /** 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 14 * Create a new response. * * @param bool $allowed * @param string $message * @param mixed $code * @return void 中文学习资源:https://xueyuanjun.com 31 安装完成后,只需通过 laravel new 命令即可在当前目录下创建一 个新的 Laravel 应用,例如,laravel new blog 将会创建一个名 为 blog 的新 Laravel 应用,且包含所有已安装的 Laravel 依赖: laravel new blog 如果之前已经安装过旧版本的 Laravel 安装器,需要更新后才能安0 码力 | 1442 页 | 14.66 MB | 1 年前3
Learning LaravelFeatured Tutorial 2 Contribution Guidelines 2 Contribution Style Guide 2 About Laravel 2 Main Features 2 MVC 2 Blade Templating Engine 3 Routing & Middleware 3 Artisan 3 Eloquent ORM 3 Event Handling by multiple methods 8 Running Laravel Artisan commands using PHP code 9 Creating and registering new artisan command 9 Chapter 3: Authentication 10 Examples 10 Multi Authentication 10 Chapter 4: Authorization Structure 68 Examples 68 Change default app directory 68 Override Application class 68 Calling the new class 68 Composer 69 Change the Controllers directory 69 Chapter 21: Eloquent 70 Introduction 700 码力 | 216 页 | 1.58 MB | 1 年前3
《Slides Dev Web》 05. JavaScript & DOM
type="text/javascript" src="script02.js"> language="JavaScript" est déprécié et type vaut par défaut text/javascript. The type attribute gives the language of the script or format of the data. […] The (appel depuis nœud parent) insertBefore(child), appendChild(child), removeChild(child), replaceChild(new,old) Ajouter un noeud function addNode() { var inText = document.getElementById("textArea").value; depuis son parent33 Insérer un nœud function insertNode() { var newText = document.createTextNode("New Text"); var newGraf = document.createElement("p"); newGraf.appendChild(newText); var divMod = document0 码力 | 10 页 | 91.95 KB | 1 年前3
《Slides Dev Web》 09. Services Web
WSDL et UDDI : – SOAP : Echange de messages XML sur le réseau – WSDL : Web Service Description Language – UDDI : Universal Description, Discovery and Integration • WSDL : Description des interfaces des différent : Effet Route Verbe URI (ressource) Description Index GET /blogs Affiche la liste New GET /blog/new Affiche formulaire création C Create POST /blogs Création en DB, puis redirection R Show GET0 码力 | 6 页 | 47.90 KB | 1 年前3
《Slides Dev Web》 06. HTTP & AJAX
Accept-Encoding: gzip[CRLF] Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7[CRLF] Cache-Control: no[CRLF] Accept-Language: de,en;q=0.7,en-us;q=0.3[CRLF] Referer: http://web-sniffer.net/[CRLF] [CRLF] • Réponse HTTP Status createXMLHttpRequest() { if (window.ActiveXObject) { xhr = new ActiveXObject("Microsoft.XMLHTTP"); } else if (window.XMLHttpRequest) { xhr = new XMLHttpRequest(); } } • Dans son contexte11 XHR en jQuery0 码力 | 11 页 | 91.09 KB | 1 年前3
Laravel 5.3 中文文档学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 4 个通知,你可以使用一个很简单的来实现: $user->notify(new InvoicePaid($invoice)); Laravel 社区已经为通知系统编写了各种各样的驱动,包括对 iOS 和 Android 通知的支持,要学习 更多关于通知系统的细节,查看其相应文档。 当然,Passport 还让定义可能在应用消费你的 API 期间被请求的访问令牌域变得简单: Passport::tokensCan([ 'place-orders' => 'Place new orders', 'check-status' => 'Check order status', ]); 此外,Passport 还包含了用于验证访问令牌认证请求包含必要令牌域的中间件: extends Model { use Searchable; } trait 被添加到模型之后,当保存模型实例的时候其信息将会被同步到搜索索引: $order = new Order; // ... 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 5.6 中文文档App\Broadcasting; use App\User; use App\Order; class OrderChannel { /** * Create a new channel instance. * * @return void */ public function __construct() { 调用 laravel 命令。 安装完成后,通过简单的 laravel new 命令即可在当前目录下创建一个新的 Laravel 应用,例如,laravel new blog 将会创建一个名为 blog 的新 应用,且包含所有 Laravel 依赖。该安装方法比通过 Composer 安装要快很多: laravel new blog 如果之前已经安装过旧版本的 Laravel 安装器,需要更新后才能安装最新的 ~/Sites,然后进入这个目录并运行 valet park。这个命令会将当前所在目录作为 Web 根目 录。 接下来,在新建的目录中创建一个新的 Laravel 站点: laravel new blog。 接下来,在浏览器中访问 http://blog.com(我通过 valet domain com 将域名后缀改成了 .com)。 这就是我们要做的全部工作。现在,所有在0 码力 | 377 页 | 14.56 MB | 1 年前3
共 18 条
- 1
- 2













