Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
e25c119f
Commit
e25c119f
authored
Aug 02, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trying to add syntax highlighting to readme.
parent
4f6a8ba2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
readme.md
+14
-6
No files found.
readme.md
View file @
e25c119f
...
...
@@ -6,22 +6,30 @@ Laravel is a clean and classy framework for PHP web development. Freeing you fro
Stay true to the web with RESTful routing:
'GET /' => function()
{
```
php
'GET /'
=>
function
()
{
return
View
::
make
(
'home/index'
);
}
}
```
Redirect to a named route and flash something to the session:
return Redirect::to_profile()->with('message', 'Welcome Back!');
```
php
return
Redirect
::
to_profile
()
->
with
(
'message'
,
'Welcome Back!'
);
```
Retrieve a blog post and eagerly load the comments using Eloquent ORM:
$posts = Post::with('comments')->find(1);
```
php
$posts
=
Post
::
with
(
'comments'
)
->
find
(
1
);
```
Get input from the previous request to re-populate a form:
echo Input::old('email');
```
php
echo
Input
::
old
(
'email'
);
```
### Ready To Learn More?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment