Laravel 5.0 Documentation
Overview iii. Focus On Service Providers vi. Application Structure i. Introduction ii. The Root Directory iii. The App Directory iv. Namespacing Your Application 6. Services i. Authentication i. Introduction Tests v. Mocking Facades vi. Framework Assertions vii. Helper Methods viii. Refreshing The Application xxii. Validation i. Basic Usage ii. Controller Validation iii. Form Request Validation iv Laravel 5.0 introduces a fresh application structure to the default Laravel project. This new structure serves as a better foundation for building robust application in Laravel, as well as embraces new0 码力 | 242 页 | 1.44 MB | 1 年前3Laravel 3.2 Documentation
Different? ....................................................................................... 1 Application Structure .................................................................................... ....................................................................................... 118 Application Configuration (More Information) ............................................................. ....................................................................................... 120 Application Keys .........................................................................................0 码力 | 139 页 | 1.13 MB | 1 年前3Learning Laravel
65 Chapter 20: Directory 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: Chapter 25: Error Handling 91 Remarks 91 Examples 91 Send Error report email 91 Catching application wide ModelNotFoundException 92 Chapter 26: Events and Listeners 93 Examples 93 Using Event and Examples 110 Installation 110 Via Composer 110 Via the Laravel installer 110 Running the application 111 Using a different server 111 Requirements 112 Hello World Example (Using Controller and0 码力 | 216 页 | 1.58 MB | 1 年前3The Laravel Handbook
4 files. Open web.php : This is the code that displays the sample home page of the Laravel application: 12 We made a request to the / relative URL ( http://127.0.0.1:8000/ ), which means the “home ----------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider and all of them will | be assigned to authentication support in the framework. 52 To make things even easier, it provides Breeze, an application starter kit tool that will create what we need in no time. Breeze scaffolds user registration0 码力 | 111 页 | 14.25 MB | 1 年前3Laravel 6.0 中文文档
它,创建缺陷报告是为了帮你自己和别人走上修复问题之路。 Laravel 源码通过 Github 进行管理,每一个 Laravel 项目都有其对 应的代码库: Laravel Application Laravel Art Laravel Documentation Laravel Cashier Laravel Cashier for Braintree 本文档由学院君提供 Laravel 中文学习资源:https://xueyuanjun.com 38 如果你需要定义一个包含空格的环境变量值,可以通过将字符串放到 双引号中来实现: APP_NAME="My Application" 获取环境变量配置值 应用每次接受请求时,.env 中列出的所有配置及其对应值都会被载 入到 PHP 超全局变量 $_ENV 中,然后你就可以在应用中通过辅助 函数 env() 来获取这些配置值。实际上,如果你去查看 frontControllerPath 方法会返回前端控制器的完整路径,通常 是 index.php: /** * Get the fully resolved path to the application's fr ont controller. * * @param string $sitePath * @param string $siteName * @param string0 码力 | 1442 页 | 14.66 MB | 1 年前3Laravel 5.3 中文文档
之 路。 Laravel 源码通过 Github 进行管理,每一个 Laravel 项目都有其对应的代码库: Laravel Framework Laravel Application Laravel Documentation Laravel Cashier Laravel Cashier for Braintree Laravel frontControllerPath 方法会返回前端控制器的完整路径,通常是 index.php: /** * Get the fully resolved path to the application's front controller. * * @param string $sitePath * @param string $siteName * @param 下面列出了每个门面及其对应的底层类,这对深入给定根门面的 API 文档而言是个很有用的工具。 服务容器绑定键也被包含进来: 门面 类 服务容器绑定 App Illuminate\Foundation\Application app Artisan Illuminate\Contracts\Console\Kernel artisan Auth Illuminate\Auth\AuthManager0 码力 | 691 页 | 9.37 MB | 1 年前3Laravel 5.6 中文文档
ovider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { Bl ovider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { Pa frontControllerPath 方法会返回前端控制器的完整路径,通常是 index.php: /** * Get the fully resolved path to the application's front controller. * * @param string $sitePath * @param string $siteName * @param0 码力 | 377 页 | 14.56 MB | 1 年前3《Slides Dev Web》 08 . RSS
Arc Info News Atom 1.0 version Atom 2008-10-27T18:30:02Z Générer le flux • Données dynamiques • Source de données identique à celle de l’application • Nécessité de générer le fichier à la volée • Nouveaux items en premier • Possibilité d’afficher flux avec XSLT Signaler la présence d’un fil RSS • Au navigateur • À l’utilisateur – Icône0 码力 | 7 页 | 52.98 KB | 1 年前3《Slides Dev Web》 09. Services Web
pour développer des applis distribuées – Accès pour une application aux services offerts aux humains • Service web = webapp pour une autre application : – Webapps : pour humains, via un navigateur (HTTP wikimedia.org/wikipedia/commons/3/3f/Concept_WS.jpg 4https://en.wikipedia.org/wiki/Mashup_(web_application_hybrid) 5https://science.howstuffworks.com/innovation/repurposed-inventions/5-web-mashups.htm 6https://developers ressources par des représentations – Messages autodescriptifs – Hypermédia comme moteur de l’état de l’application • Ressource : information ou moyen d’accès – ex. : météo du jour, adresse ajout d’un article0 码力 | 6 页 | 47.90 KB | 1 年前3Laravel 5.2 中文文档
中。 实际上,默认的 Laravel 5.2 应用结构采用的正是这个方法。例如,在默认 的 App\Http\Kernel.php 文件中你会看到如下内容: /** * The application's route middleware groups. * * @var array */ protected $middlewareGroups = [ 'web' 上修复问题之路。 Laravel 源码通过 Github 进行管理,每一个 Laravel 项目都有其对应的代码库: Laravel Framework Laravel Application Laravel Documentation Laravel Cashier Laravel Envoy Laravel Homestead 当然,如果你不需要传递自定义的 HTTP 状态码和头信息,只需要简单使用全局辅助函 数 view 即可。 JSON json 方法会自动将 Content-Type 头设置为 application/json,并使用 PHP 函 数 json_encode 方法将给定数组转化为 JSON: return response()->json(['name' => 'Abigail', 'state'0 码力 | 377 页 | 4.56 MB | 1 年前3
共 18 条
- 1
- 2