Laravel 5.0 Documentation
tail command documentation. The php artisan tinker command now utilizes the Boris REPL if your system supports it. The readline and pcntl PHP extensions must be installed to use this feature. If caching, consult the full documentation. To upgrade your User model for Laravel 5's authentication system, follow these instructions: Delete the following from your use block: use Illuminate\Auth\UserInterface; Application Laravel Documentation Laravel Cashier Laravel Envoy Laravel Homestead Laravel Homestead Build Scripts Laravel Website Laravel Art Discussion regarding bugs, new features, and implementation0 码力 | 242 页 | 1.44 MB | 1 年前3
The Laravel Handbook
there are other migrations, which are added by the Laravel framework itself for it’s authentication system. But let’s focus on creating a new table, let’s call it dogs . Go in the up() function of the you define a model you’ll later be able to create a new resource, delete, update it. Now let’s build a form to add a new dog to the database. Let’s add a new entry to routes/web.php Route::get('/newdog' the DigitalOcean panel) In Advanced Settings you can configure more details such as the Operating System, Database and PHP version: 86 I picked Postgres because I like that more, but it’s just a preference0 码力 | 111 页 | 14.25 MB | 1 年前3
Learning Laravelequivalent directory for your OS) in your $PATH so the laravel executable can be located by your system. Once installed, the laravel new command will create a fresh Laravel installation in the directory generate Seeds 1) BASIC SIMPLE WAY Database-driven applications often need data pre-seeded into the system for testing and demo purposes. To make such data, first create the seeder class ProductTableSeeder equivalent directory for your OS) in your $PATH so the laravel executable can be located by your system. Once installed, the laravel new command will create a fresh Laravel installation in the directory0 码力 | 216 页 | 1.58 MB | 1 年前3
Laravel 3.2 Documentationfew examples that we think make good bullet points: Bundles are Laravel's modular packaging system. The Laravel Bundle Repository is already populated with quite a few features that can be easily output the paging links in your view. Laravel automatically does the rest. Laravel's pagination system was designed to be easy to implement and easy to change. It's also important to note that just because Bundle::start. Allow the registration of custom database drivers. New, driver based authentication system. Added Input::json() method for working with applications using Backbone.js or similar. 0 码力 | 139 页 | 1.13 MB | 1 年前3
Laravel 5.6 中文文档hosts 文件中,该文件会将对本地域名的请求重定向到 Homestead 虚拟机,在 Mac 或 Linux 上,该文件位于 /etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加方式如下: 192.168.10.10 homestead.test 确保 IP 地址和你的 Homestead.yaml 文件中列出的一致,一旦你将域名添加到 names 数组来覆盖这些默认的名称: Route::resource('post', 'PostController', ['names' => ['create' => 'post.build'] ]); 命名资源路由参数 默认情况下,Route::resource 将会基于资源名称的单数格式为资源路由创建路由参数,你可以通过在选项数组中传递 parameters 来覆盖这一默 Slack。但是,如果我们 记录的是 emergency 级别的信息,就会被发送到系统日志和 Slack,因为 emergency 级别高于两个通道的最低级别门槛: Log::emergency('The system is down!'); 写入日志信息 你可以使用 Log 门面记录日志信息,如上所述,日志系统提供了定义在 RFC 5424 规范中的八种日志级别:emergency、alert、critical、error、0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 6.0 中文文档中文学习资源:https://xueyuanjun.com 26 Laravel Envoy Laravel Framework Laravel Homestead Laravel Homestead Build Scripts Laravel Horizon Laravel Passport Laravel Scout Laravel Socialite Laravel Telescope Homestead 站点的请求重定向到 Homestead 虚拟机。在 Mac 和 Linux 系统中,该文件位于 /etc/hosts,在 Windows 系统中, 该文件位于 C:\Windows\System32\drivers\etc\hosts。我们 以 homestead.test 域名映射为例,添加到 hosts 文件的记录如下 所示: 192.168.10.10 homestead.test names 数组来覆盖这些默认的名称: Route::resource('posts', 'PostController', ['names' => ['create' => 'posts.build'] ]); 命名资源路由参数 默认情况下,Route::resource 将会基于资源名称的单数格式为资 源路由创建路由参数,你可以通过在选项数组中传递 parameters 来 本文档由学院君提供0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.3 中文文档use Queueable, SerializesModels; /** * Build the message. * * @return $this */ public function build() 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 5.3 应用中, commands 方法会加 载 routes/console.php 文件,从而允许你基于闭包、以路由风格定义控制台命令: Artisan::command('build {project}', function ($project) { 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel Laravel Cashier for Braintree Laravel Envoy Laravel Homestead Laravel Homestead Build Scripts Laravel Website Laravel Art 2、核心开发讨论 你可以在 issue board 上提议新功能或者优化已有功能,如果是新功能的话请至少实现部分代码0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 5.1 中文文档Documentation Laravel Cashier Laravel Envoy Laravel Homestead Laravel Homestead Build Scripts Laravel Website Laravel Art 核心开发讨论 你可以在 LaraChat 的 Slack 小组的#internals 频道讨论关于 hosts 文件,该文件会将对本地域名的 请求重定向到 Homestead 环境,在 Mac 或 Linux 上,该文件位于/etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加方式如下: 192.168.10.10 homestead.app 确保 IP 地址和你的 Homestead.yaml 文件中列出的一致,一旦你将域名放置到 组来覆盖这些默认的名字: Route::resource('photo', 'PhotoController', ['names' => ['create' => 'photo.build']]); 4.4 嵌套资源 有时候我们需要定义路由到“嵌套”资源。例如,一个图片资源可能拥有多条“评论”,要“嵌套” 资源控制器,在路由声明中使用“.”号即可: Route::resource('photos0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.2 中文文档Documentation Laravel Cashier Laravel Envoy Laravel Homestead Laravel Homestead Build Scripts Laravel Website Laravel Art 2、核心开发讨论 你可以在 LaraChat 的 Slack 小组的 #internals 频道讨论关于 文件中,该文件会将对 本地域名的请求重定向到 Homestead 虚拟机,在 Mac 或 Linux 上,该文件位 于 /etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加 方式如下: 192.168.10.10 homestead.app 确保 IP 地址和你的 Homestead.yaml 文件中列出的一致,一旦你将域名放置到 组来覆盖这些默认的名字: Route::resource('photo', 'PhotoController', ['names' => ['create' => 'photo.build']]); 补充资源控制器 如果有必要在默认资源路由之外添加额外的路由到资源控制器,应该在调 用 Route::resource 之前定义这些路由;否则,通过 resource 方法定义的路由可能无意0 码力 | 377 页 | 4.56 MB | 1 年前3
共 9 条
- 1













