2017 © Pedro Pelรกez
 

library igor

Laravel Static Site ReAnimator

image

jeremytubbs/igor

Laravel Static Site ReAnimator

  • Thursday, July 7, 2016
  • by jeremytubbs
  • Repository
  • 1 Watchers
  • 2 Stars
  • 43 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

Igor Static Re-Animator

Igor is a simple yet powerful Laravel Package that transforms plain text into blog-aware dynamic content. Custom post content types can easily be built and new posts created using Artisan commands. All content types can be linked togther using Tags or Categories. Igor utilizes standard YAML frontmatter and Markdown within an opinionated folder structure to seed your content into its database schema. Igor will even process and save derivatives of images to your public directory., (*1)

FYI - This project is pre-release and will have breaking changes., (*2)

Installation

Composer

Add the package via composer:, (*3)

composer require jeremytubbs/igor

Service Provider

Next, register the service provider in your config/app.php configuration file., (*4)

Jeremytubbs\Igor\IgorServiceProvider::class,

Publish Package Assets

php artisan vendor:publish

Usage

Artisan Commands

Create a custom post type:, (*5)

php artisan igor:build project

This command will create a resources\static\projects directory. You will need to add projects to app\config\igor.php before you can publish any projects., (*6)

Create a new post for a custom type:, (*7)

php artisan igor:new 'Hello World' --type=project

This command will create the file structure for a new project post., (*8)

Watch the static folder for changes:, (*9)

php artisan igor:watch

It's Alive!, (*10)

Example Folder Structure

resources/
โ””โ”€โ”€ static/
    โ”œโ”€โ”€ config.yaml
    โ”œโ”€โ”€ pages/
    |   โ””โ”€โ”€ about/
    |       โ”œโ”€โ”€ images/
    |       โ””โ”€โ”€ index.md
    โ””โ”€โ”€ projects/
        โ”œโ”€โ”€ config.yaml
        โ”œโ”€โ”€ foo-bar/
        |   โ”œโ”€โ”€ images/
        |   โ””โ”€โ”€ index.md
        โ””โ”€โ”€ hello-world/
            โ”œโ”€โ”€ images/
            โ””โ”€โ”€ index.md

Todo Core: - Asset workflow for non-images - API - more documentation!, (*11)

The Versions

07/07 2016

dev-refactor

dev-refactor

Laravel Static Site ReAnimator

  Sources   Download

MIT

The Requires

 

by Avatar jeremytubbs

laravel laravel5

03/07 2016

dev-master

9999999-dev

Laravel Static Site ReAnimator

  Sources   Download

MIT

The Requires

 

by Avatar jeremytubbs

laravel laravel5

03/07 2016

0.5.2

0.5.2.0

Laravel Static Site ReAnimator

  Sources   Download

MIT

The Requires

 

by Avatar jeremytubbs

laravel laravel5

24/02 2016

0.5.1

0.5.1.0

Laravel Static Site ReAnimator

  Sources   Download

MIT

The Requires

 

by Avatar jeremytubbs

laravel laravel5

21/02 2016

0.5.0

0.5.0.0

Laravel Static Site ReAnimator

  Sources   Download

MIT

The Requires

 

by Avatar jeremytubbs

laravel laravel5

09/02 2016

0.4.0

0.4.0.0

Laravel Static Site ReAnimator

  Sources   Download

MIT

The Requires

 

by Avatar jeremytubbs

laravel laravel5

25/10 2015

0.3.0

0.3.0.0

Laravel Static Site ReAnimator

  Sources   Download

MIT

The Requires

 

by Avatar jeremytubbs

laravel5

21/10 2015

0.2.4

0.2.4.0

Laravel Static Site ReAnimator

  Sources   Download

MIT

The Requires

 

by Avatar jeremytubbs

laravel5

16/10 2015

0.2.3

0.2.3.0

Laravel Static Site ReAnimator

  Sources   Download

MIT

The Requires

 

by Avatar jeremytubbs

laravel5

16/10 2015

0.2.2

0.2.2.0

Laravel Static Site ReAnimator

  Sources   Download

MIT

The Requires

 

by Avatar jeremytubbs

laravel5

16/10 2015

0.2.1

0.2.1.0

Laravel Static Site ReAnimator

  Sources   Download

MIT

The Requires

 

by Avatar jeremytubbs

laravel5

14/10 2015

0.2.0

0.2.0.0

Laravel Static Site ReAnimator

  Sources   Download

MIT

The Requires

 

by Avatar jeremytubbs

laravel5

11/10 2015

0.1.0

0.1.0.0

  Sources   Download