Please enable JavaScript.
Coggle requires JavaScript to display documents.
Laravel - Coggle Diagram
Laravel
Features of Laravel
Modularity
Testability
Routing
Configuration Management
Query Builder and ORM
Schema Builder
Template Engine
E-mail
Authentication
Redis
Queues
Event and Command Bus
Application Structure
App
Console
Events
Exceptions
Http
Jobs
Listeners
Policies
Providers
Bootstrap
Config
Database
Public
Resources
Storage
Tests
Vendor
Controllers
Creating a Controller
Controller Middleware
Assigning Middleware to Route
Assigning Middleware within Controller’s constructor
Restful Resource Controllers
Implicit Controllers
Constructor Injection
Method Injection
Other
Working With Database
Blade templates
Forms
Localization
Validation
File Uploading
Configuration
Environment Configuration
Important Points
Retrieval of Environment Variables
Accessing Configuration Values
Caching of Configuration
Maintenance Mode
php artisan down
php artisan up
Routing
Basic Routing
Route Parameters
Required Parameters
Optional Parameters
Named Routes
Middleware
Registering Middleware
Global Middleware
Route Middleware
Middleware Parameters
Terminable Middleware
Response
Basic Response
Attaching Headers
JSON Response
Views
Basic view
Passing Data to Views
Sharing Data with all Views
Advantages of Laravel
Composer
Artisan
Request
Retrieving the Request URI
$request->path()
$request->is('foo/*')
$request->url()
Retrieving Input
Using the input() method
$name = $request->input('username');
Using the properties of Request instance
$request->username
Cookie
Creating a Cookie
Retrieving a Cookie
Redirections
Redirecting to Named Routes
Redirecting to Controller Actions
Errors and Logging
Erors
APP_DEBUG=true
Logging
single
daily
syslog
errorlog
Session
$request->session()
get
put
forget