Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
pborreli committed Jan 11, 2013
1 parent 0b60fd4 commit 08eacf9
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion artisan.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To view a list of all available Artisan commands, you may use the `list` command

php artisan list

Every command also includes a "help" screen which displays and describes the command's available arguments and options. To view a help screen, simply preceed the name of the command with `help`:
Every command also includes a "help" screen which displays and describes the command's available arguments and options. To view a help screen, simply precede the name of the command with `help`:

**Viewing The Help Screen For A Command**

Expand Down
6 changes: 3 additions & 3 deletions commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To create a new command, you may use the `command:make` Artisan command, which w

By default, generated commands will be stored in the `app/commands` directory; however, you may specify custom path or namespace:

php artisan command:make FooCommnad --path="app/classes" --namespace="Classes"
php artisan command:make FooCommand --path="app/classes" --namespace="Classes"

### Writing The Command

Expand Down Expand Up @@ -57,7 +57,7 @@ The `VALUE_NONE` option indicates that the option is simply used as a "switch":

### Retrieving Input

While you commnad is executing, you will obviously need to access the values for the arguments and options accepted by your application. To do so, you may use the `argument` and `option` methods:
While you command is executing, you will obviously need to access the values for the arguments and options accepted by your application. To do so, you may use the `argument` and `option` methods:

**Retrieving The Value Of A Command Argument**

Expand All @@ -79,7 +79,7 @@ While you commnad is executing, you will obviously need to access the values for

To send output to the console, you may use the `info`, `comment`, `question` and `error` methods. Each of these methods will use the appropriate ANSI colors for their purpose.

**Sending Information To The Conosle**
**Sending Information To The Console**

$this->info('Display this on the screen');

Expand Down
2 changes: 1 addition & 1 deletion database.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<a name="configuration"></a>
## Configuration

Laravel makes connecting with databases and running queries extremely simple. The database configuration file is `app/config/database.php`. In this file you may define all of your database connections, as well as specify which connection should be used by default. Examples for all of the suported database systems are provided in this file.
Laravel makes connecting with databases and running queries extremely simple. The database configuration file is `app/config/database.php`. In this file you may define all of your database connections, as well as specify which connection should be used by default. Examples for all of the supported database systems are provided in this file.

Currently Laravel supports four database systems: MySQL, Postgres, SQLite, and SQL Server.

Expand Down
2 changes: 1 addition & 1 deletion eloquent.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ You may also override the conventional associated keys:
<a name="polymorphic-relations"></a>
### Polymorphic Relations

Poymorphic relations allow a model to belongs to more than one other model, on a single association. For example, you might have a photo model that belongs to either a staff model or an order model. We would define this relation like so:
Polymorphic relations allow a model to belongs to more than one other model, on a single association. For example, you might have a photo model that belongs to either a staff model or an order model. We would define this relation like so:

class Photo extends Eloquent {

Expand Down
2 changes: 1 addition & 1 deletion errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ By default, the `app/start/global.php` file contains an error handler for all ex

This is the most basic error handler. However, you may specify more handlers if needed. Handlers are called based on the type-hint of the Exception they handle. For example, you may create a handler that only handles `RuntimeException` instances:

App::error(funtion(RuntimeException $exception)
App::error(function(RuntimeException $exception)
{
// Handle the exception...
});
Expand Down
2 changes: 1 addition & 1 deletion installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The Laravel framework has a few system requirements:

Laravel needs almost no configuration out of the box. You are free to get started developing! However, you may wish to review the `app/config/app.php` file and its documentation. It contains several options such as `timezone` and `locale` that you may wish to change according to your application.

> **Note:** One configuration option you should be sure to set is the `key` option within `app/config/app.php`. This value should be set to a 32 character, random sring. This key is used when encrypting values, and encrypted values will not be safe until it is properly set.
> **Note:** One configuration option you should be sure to set is the `key` option within `app/config/app.php`. This value should be set to a 32 character, random string. This key is used when encrypting values, and encrypted values will not be safe until it is properly set.
<a name="pretty-urls"></a>
## Pretty URLs
Expand Down
2 changes: 1 addition & 1 deletion packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ This command will move the assets into the `public/packages` directory according
<a name="publishing-packages"></a>
## Publishing Packages

When your package is ready to pubish, you should submit the package to the [Packagist](http:https://packagist.org) repository. If the package is specific to Laravel, consider adding a `laravel` tag to your package's `composer.json` file.
When your package is ready to publish, you should submit the package to the [Packagist](http:https://packagist.org) repository. If the package is specific to Laravel, consider adding a `laravel` tag to your package's `composer.json` file.

Also, it is courteous and helpful to tag your releases so that developers can depend on stable versions when requesting your package in their `composer.json` files. If a stable version is not ready, consider using the `branch-alias` Composer directive.

Expand Down
4 changes: 2 additions & 2 deletions validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ The field under validation must be entirely alpha-numeric characters.
<a name="rule-before"></a>
#### before:_date_

The field under validation must be a value preceeding the given date. The dates will be passed into the PHP `strtotime` function.
The field under validation must be a value preceding the given date. The dates will be passed into the PHP `strtotime` function.

<a name="rule-between"></a>
#### between:_min_,_max_
Expand Down Expand Up @@ -357,7 +357,7 @@ In some cases, you may wish to specify your custom messages in a language file i
<a name="custom-validation-rules"></a>
## Custom Validation Rules

Laravel provides a variety of helpful validaton rules; however, you may wish to specify some of your own. One method of registering custom validation rules is using the `Validator::extend` method:
Laravel provides a variety of helpful validation rules; however, you may wish to specify some of your own. One method of registering custom validation rules is using the `Validator::extend` method:

**Registering A Custom Validation Rule**

Expand Down

0 comments on commit 08eacf9

Please sign in to comment.