Installation of latest laravel commands added (#34181)
This commit is contained in:
committed by
Christopher McCormack
parent
c68f606c03
commit
96bfcfd654
@ -11,7 +11,7 @@ Because Laravel is open-source, the community around it is very strong and the d
|
||||
|
||||
Laravel also has its own online learning platform, [Laracasts](https://laracasts.com/), which offers extensive video tutorials (some free, some available with paid subscription) on Laravel as well as PHP, Javascript, and other web development topics. The free introductory series [Laravel 5.4 From Scratch](https://laracasts.com/series/laravel-from-scratch-2017) is a great place to start.
|
||||
|
||||
### Featured Packages
|
||||
## Featured Packages
|
||||
Ready-to-use bundles provided by Laravel through Composer and Packagist include the following:
|
||||
- **Cashier** - introduced in Laravel 4.2, provides an interface for managing subscription billing services provided by Stripe, such as handling coupons and generating invoices.
|
||||
- **SSH** - introduced in Laravel 4.1, allows programmatic execution of CLI commands on remote servers using the Secure Shell (SSH) as an encrypted network protocol.
|
||||
@ -19,7 +19,7 @@ Ready-to-use bundles provided by Laravel through Composer and Packagist include
|
||||
- **Flysystem** - introduced in Laravel 5.0, is a file system abstraction layer that allows local file systems and cloud-based storage services provided by Amazon S3 and Rackspace Cloud to be used transparently and in the same way.
|
||||
- **Socialite** - introduced in Laravel 5.0 as an optional package, provides simplified mechanisms for authentication with different OAuth providers, including Facebook, Twitter, Google, GitHub and Bitbucket.
|
||||
|
||||
### Top Six Features of Laravel 5.0.1 Framework Most Useful for the Enterprise App Development
|
||||
## Top Six Features of Laravel 5.0.1 Framework Most Useful for the Enterprise App Development
|
||||
1. Entirely new directory structure
|
||||
2. Route caching
|
||||
3. Inbuilt Authentication System
|
||||
@ -27,11 +27,10 @@ Ready-to-use bundles provided by Laravel through Composer and Packagist include
|
||||
5. Improved method injection
|
||||
6. Contracts
|
||||
|
||||
### Laravel Ecosystem
|
||||
## Laravel Ecosystem
|
||||
One of the most powerful features of Laravel is the ecosystem of tools and extensions that surrounds it.
|
||||
|
||||
These include a range of services and software, some created by Laravel and some by the wider developer community:
|
||||
|
||||
These features include a range of services and software, some created by Laravel and some by the wider developer community:
|
||||
- [Forge](https://forge.laravel.com/) - server management
|
||||
- [Envoyer](https://envoyer.io/) - deployment
|
||||
- [Horizon](https://horizon.laravel.com/) - queues / monitoring
|
||||
@ -47,7 +46,7 @@ These include a range of services and software, some created by Laravel and some
|
||||
- [Cachet](https://cachethq.io/) - status page system
|
||||
- [Statamic](https://statamic.com/) - CMS
|
||||
|
||||
### Server Requirements
|
||||
## Server Requirements
|
||||
The Laravel framework has a few system requirements. Of course, all of these requirements are satisfied by the Laravel Homestead virtual machine, so it's highly recommended that you use [Homestead](https://laravel.com/docs/5.7/homestead) as your local Laravel development environment.
|
||||
|
||||
However, if you are not using Homestead, you will need to make sure your server meets the following requirements:
|
||||
@ -66,5 +65,45 @@ However, if you are not using Homestead, you will need to make sure your server
|
||||
### Get Laravel
|
||||
The [latest release](https://laravel-news.com/laravel-5-7-is-now-released) of Laravel is 5.7 and includes optional email verification in the authentication scaffolding. Laravel can be installed using [Composer](https://getcomposer.org/).
|
||||
|
||||
|
||||
### Installing Laravel
|
||||
Laravel utilizes [Composer](https://getcomposer.org/) to manage its dependencies. Before using Laravel, make sure you have Composer installed on your machine.
|
||||
|
||||
#### Via Laravel Installer
|
||||
First, download the Laravel installer using Composer:
|
||||
|
||||
```sh
|
||||
> composer global require laravel/installer
|
||||
```
|
||||
|
||||
Make sure to place composer's system-wide vendor bin directory in your `$PATH` variable so the laravel executable can be located by your system. This directory exists in different locations based on your operating system; however, some common locations include:
|
||||
|
||||
- macOS: `$HOME/.composer/vendor/bin`
|
||||
- GNU / Linux Distributions: `$HOME/.config/composer/vendor/bin`
|
||||
|
||||
Once installed, the laravel `new` command will create a fresh Laravel installation in the directory you specify. For instance, laravel new blog will create a directory named blog containing a fresh Laravel installation with all of Laravel's dependencies already installed:
|
||||
|
||||
```sh
|
||||
> laravel new blog
|
||||
```
|
||||
|
||||
#### Via Composer Create-Project
|
||||
Alternatively, you may also install Laravel by issuing the Composer create-project command in your terminal:
|
||||
|
||||
```sh
|
||||
> composer create-project --prefer-dist laravel/laravel blog
|
||||
```
|
||||
|
||||
Local Development Server
|
||||
If you have PHP installed locally and you would like to use PHP's built-in development server to serve your application, you may use the Artisan `serve` command. This command will start a development server at `http://localhost:8000`:
|
||||
|
||||
```sh
|
||||
> php artisan serve
|
||||
```
|
||||
|
||||
Of course, more robust local development options are available via Homestead and Valet.
|
||||
|
||||
For details visit [LARAVEL HOME](https://laravel.com/docs/5.7/installation).
|
||||
|
||||
## Additional Resources
|
||||
- [Laravel Basic Task List Tutorial](https://laravel.com/docs/5.1/quickstart)
|
||||
|
Reference in New Issue
Block a user