#Простой пост с комментариями
##Миграции
Эта миграция для таблицы posts:
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePostsTable extends Migration {| <?php | |
| class Process_Manager implements Countable | |
| { | |
| protected $processes = array(); | |
| protected $is_child = FALSE; | |
| public function count() | |
| { | |
| return count($this->processes); |
#Простой пост с комментариями
##Миграции
Эта миграция для таблицы posts:
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePostsTable extends Migration {composer create-project laravel/laravel --prefer-dist PROJECT
```jo
This will setup a new laravel project in PROJECT subfolder of current folder, and set the encryption key.
## Development dependecies
Things that I find useful for development in every project.
| # ---------------------------------------------------------------------- | |
| # /PUBLIC folder .htaccess | |
| # ---------------------------------------------------------------------- | |
| # This .htaccess file is recommended | |
| # to be placed at root/public folder | |
| # of your Laravel powered application | |
| # ---------------------------------------------------------------------- | |
| # This file works with Laravel 3 and 4 | |
| # ---------------------------------------------------------------------- | |
| # Turning on the rewrite engine is necessary for the following rules and |