git clone https://github.com/cartalyst/platform.git blog
Navigate into the downloaded folder and run
composer install
Platform can be installed either through the browser or terminal,
Navigate to your vhost, the installer will appear, follow instructions.
run php artisan platform:install
and follow instructions.
Open the app in the browser, Sign in, go to Admin
Under Operations choose Workshop
Fill out the fields as follows
Author Name: Cartalyst
Author Email: [email protected]
Vendor: cartalyst
Name: blog
Version: 0.1.0
Description: A Platform 2 Blog Extension
Click on Save
-
Click on Scaffold
-
Write
post
in the name field. -
Check all
-
Click on
Next
-
Check
seeder
and write the number of records you need for your seeder. -
Add a field
title
typestring
-
Add a field
body
typetext
-
Click on
Create
-
Open up the PostsTableSeeder and uncomment the
faker
lines if you have faker installed or add your own logic there. -
Click on install.