×
思维导图备注
Symfony v4.4 Documentation
首页
白天
夜间
小程序
阅读
书签
我的书签
添加书签
移除书签
Getting Started
来源:Symfony
浏览
523
扫码
分享
2021-07-30 20:38:56
Setup
Creating Pages
Controllers
Templates
当前内容版权归
Symfony
或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问
Symfony
.
上一篇:
下一篇:
Getting Started
Setup
Using Symfony with Homestead/Vagrant
Configuring a Web Server
How to Use PHP’s built-in Web Server
Upgrading a Third-Party Bundle for a Major Symfony Version
Setting up or Fixing File Permissions
Symfony Local Web Server
How to Install or Upgrade to the Latest, Unreleased Symfony Version
Upgrading a Major Version (e.g. 4.4.0 to 5.0.0)
Upgrading a Minor Version (e.g. 4.0.0 to 4.1.0)
Upgrading a Patch Version (e.g. 4.1.0 to 4.1.1)
Creating Pages
Symfony versus Flat PHP
Symfony and HTTP Fundamentals
Controllers
Templates
Guides
Bundles
How to Override any Part of a Bundle
Best Practices for Reusable Bundles
How to Create Friendly Configuration for a Bundle
How to Load Service Configuration inside a Bundle
How to Simplify Configuration of Multiple Bundles
Cache
cache.adapter.apcu
cache.adapter.array
cache.adapter.doctrine
cache.adapter.filesystem
cache.adapter.memcached
cache.adapter.pdo
cache.adapter.psr6
cache.adapter.redis
Console
How to Call Other Commands
How to Color and Style the Console Output
How to Call a Command from a Controller
How to Define Commands as Services
How to Hide Console Commands
Console Input (Arguments & Options)
How to Make Commands Lazily Loaded
Prevent Running the Same Console Command Multiple Times
How to Style a Console Command
Verbosity Levels
Question Helper
Formatter Helper
Progress Bar
Table
Debug Formatter Helper
Contributing
Code of Conduct
Code of Conduct
Reporting Guidelines
CARE Team
Code of Conduct: Concrete Example Document
Code
Bugs
Getting a Stack Trace
Pull Requests
Maintenance
The Core Team
Security
Tests
Backward Compatibility
Coding Standards
Code Conventions
Git
License
Documentation
Overview
Format
Documentation Standards
License
Community
Release Process
Respectful Review comments
Community Reviews
Diversity
Governance
Databases (Doctrine ORM)
How to Work with Doctrine Associations / Relations
Doctrine Events
How to Implement a Registration Form
How to Register custom DQL Functions
How to Use Doctrine DBAL
How to Work with multiple Entity Managers and Connections
How to Define Relationships with Abstract Classes and Interfaces
How to Generate Entities from an Existing Database
How to Test A Doctrine Repository
Deployment
How to Configure Symfony to Work behind a Load Balancer or a Reverse Proxy
Event Dispatcher
How to Set Up Before and After Filters
How to Customize a Method Behavior without Using Inheritance
Flex
Forms
Form Types Reference
HTTP Cache
Logging
How to Configure Monolog to Email Errors
How to Log Messages to different Files
How to Define a Custom Logging Formatter
How to Add extra Data to Log Messages via a Processor
Handlers
How to Configure Monolog to Exclude Specific HTTP Codes from the Log
How to Configure Monolog to Display Console Messages
Messenger
Performance
Profiler
Serializer
Normalizers
How to Create your Custom Encoder
How to Create your Custom Normalizer
Service Container
How to Create Service Aliases and Mark Services as Private
Defining Services Dependencies Automatically (Autowiring)
Service Method Calls and Setter Injection
How to Work with Compiler Passes
How to Configure a Service with a Configurator
How to Debug the Service Container & List Services
How to work with Service Definition Objects
How to Inject Values Based on Complex Expressions
Using a Factory to Create Services
How to Import Configuration Files/Resources
Types of Injection
Lazy Services
How to Make Service Arguments/References Optional
How to Manage Common Dependencies with Parent Services
How to Retrieve the Request from the Service Container
How to Decorate Services
Service Subscribers & Locators
How to Define Non Shared Services
How to Inject Instances into the Container
How to Work with Service Tags
Sessions
Testing
WebLink
Workflow
Components
Asset
BrowserKit
Cache
Config
Console
Contracts
CssSelector
DependencyInjection
DomCrawler
Dotenv
Nov 2018 Changes to .env & How to Update
Environment Variable Processors
Understanding how the Front Controller, Kernel and Environments Work together
Building your own Framework with the MicroKernelTrait
How To Create Symfony Applications with Multiple Kernels
How to Override Symfony’s default Directory Structure
How to Keep Sensitive Information Secret
Using Parameters within a Dependency Injection Class
EventDispatcher
ExpressionLanguage
Filesystem
Finder
Form
Bootstrap 4 Form Theme
How to Choose Validation Groups Based on the Clicked Button
How to Create a Custom Form Field Type
How to Create a Form Type Extension
How to Choose Validation Groups Based on the Submitted Data
When and How to Use Data Mappers
How to Use Data Transformers
How to Use the submit() Function to Handle Form Submissions
How to Disable the Validation of Submitted Data
How to Dynamically Modify Forms Using Form Events
How to Embed Forms
Form Events
How to Embed a Collection of Forms
How to Customize Form Rendering
How to Access Services or Config from Inside a Form
How to Work with Form Themes
How to Reduce Code Duplication with “inherit_data”
How to Submit a Form with Multiple Buttons
Creating a custom Type Guesser
How to Unit Test your Forms
How to Configure empty Data for a Form Class
How to Dynamically Configure Form Validation Groups
How to Define the Validation Groups to Use
How to Use a Form without a Data Class
HttpClient
HttpFoundation
Configuring Sessions and Save Handlers
Integrating with Legacy Sessions
Testing with Sessions
Session Management
Extending Action Argument Resolving
How to Customize Error Pages
How to Forward Requests to another Controller
How to Define Controllers as Services
How to Create a SOAP Web Service in a Symfony Controller
How to Upload Files
Store Sessions in a Database
Making the Locale “Sticky” during a User’s Session
Bridge a legacy Application with Symfony Sessions
Session Proxy Examples
Cache Invalidation
Varying the Response for HTTP Cache
Working with Edge Side Includes
HTTP Cache Expiration
Working with Server Side Includes
HTTP Cache Validation
How to Use Varnish to Speed up my Website
HttpKernel
Intl
CountryType Field
CurrencyType Field
LanguageType Field
LocaleType Field
TimezoneType Field
Ldap
Lock
Mailer
Messenger
How to Create Your own Messenger Transport
Transactional Messages: Handle New Messages After Handling is Done
Getting Results from your Handler
Multiple Buses
Mime
Notifier
OptionsResolver
PHPUnit Bridge
PasswordHasher
Authentication (Identifying/Logging in the User)
Authorization (Denying Access)
Process
PropertyAccess
PropertyInfo
Routing
How to Create a custom Route Loader
Looking up Routes from a Database: Symfony CMF DynamicRouter
Runtime
Security
Authentication
Authorization
The Firewall and Authorization
Securely Generating Random Values
How Does the Security access_control Work?
How to Customize Access Denied Responses
How to Use Access Control Lists (ACLs)
Built-in Authentication Providers
How to Implement CSRF Protection
How to Create a custom Authentication Provider
Security: Complex Access Controls with Expressions
How to Restrict Firewalls to a Request
How to Force HTTPS or HTTP for different URLs
Using the form_login Authentication Provider
How to Build a Login Form
Custom Authentication System with Guard (API Token Example)
How to Impersonate a User
How to Build a JSON Authentication Endpoint
Authenticating against an LDAP server
How to Use Multiple Guard Authenticators
How to Use A Different Password Encoder Algorithm Per User
How to Migrate a Password Hash
How to Add “Remember Me” Login Functionality
How to Add a Reset Password Feature
How to Secure any Service or Method in your Application
How to Create and Enable Custom User Checkers
Security User Providers
How to Use Voters to Check User Permissions
Security Configuration Reference (SecurityBundle)
Serializer
Stopwatch
String
Templating
How to Use PHP instead of Twig for Templates
How to Inject Variables Automatically into all Templates
How to Embed Asynchronous Content with hinclude.js
How to Write a custom Twig Extension
Translation
How to Translate Messages using the ICU MessageFormat
How to Work with the User’s Locale
How to Find Missing or Unused Translation Messages
How to Find Errors in Translation Files
The XLIFF format
Uid
Validator
How to Create a Custom Validation Constraint
How to Apply only a Subset of all Your Validation Constraints (Validation Groups)
How to Validate Raw Values (Scalar Values and Arrays)
How to Sequentially Apply Validation Groups
How to Handle Different Error Levels
How to Translate Validation Constraint Messages
VarDumper
Advanced Usage of the VarDumper Component
VarExporter
WebLink
Webpack Encore
Getting Started
Installation
First Example
Adding more Features
CSS Preprocessors: Sass, LESS, etc
PostCSS and autoprefixing
Enabling React.js
Enabling Vue.js (vue-loader)
Copying & Referencing Images
Configuring Babel
Source maps
Enabling TypeScript (ts-loader)
Optimizing
Versioning (and the entrypoints.json/manifest.json files)
Using a CDN
Async Code Splitting
Preventing Duplication by “Splitting” Shared Code into Separate Files
Creating a “Shared” entry for re-used modules
Inlining files in CSS with Webpack URL Loader
Guides
Using Bootstrap CSS & JS
Creating Page-Specific CSS/JS
jQuery and Legacy Applications
Passing Information from Twig to JavaScript
webpack-dev-server and Hot Module Replacement (HMR)
Adding custom loaders & plugins
Advanced Webpack Configuration
Using Encore in a Virtual Machine
Issues & Questions
FAQ & Common Issues
How to Use a Custom Version Strategy for Assets
Workflow
How to Dump Workflows
Workflows and State Machines
Yaml
The YAML Format
Reference
Basic Constraints
NotBlank
Blank
NotNull
IsNull
IsTrue
IsFalse
Type
String Constraints
Email
Length
Url
Regex
Ip
Json
Uuid
UserPassword
NotCompromisedPassword
Comparison Constraints
EqualTo
NotEqualTo
IdenticalTo
NotIdenticalTo
LessThan
LessThanOrEqual
GreaterThan
GreaterThanOrEqual
Range
DivisibleBy
Unique
Number Constraints
Positive
PositiveOrZero
Negative
NegativeOrZero
Date Constraints
Date
DateTime
Time
Timezone
Choice Constraints
Choice
Language
Locale
Country
File Constraints
File
Image
Financial and other Number Constraints
Bic
CardScheme
Currency
Luhn
Iban
Isbn
Issn
Other Constraints
Callback
Expression
All
Valid
Traverse
Collection
Count
UniqueEntity
暂无相关搜索结果!
本文档使用
BookStack
构建
×
分享,让知识传承更久远
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
普通下载
下载码下载(免登录无限下载)
你与大神的距离,只差一个APP
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
温馨提示
每天每在网站阅读学习一分钟时长可下载一本电子书,每天连续签到可增加阅读时长
下载码方式下载:免费、免登录、无限制。
免费获取下载码
下载码
文档格式
PDF
EPUB
MOBI
码上下载
×
微信小程序阅读
您与他人的薪资差距,只差一个随时随地学习的小程序
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度