2017 © Pedro Peláez
 

library static

package for web view static page generation, laravel 5 extra features (services provider, command line)

image

uthmordar/static

package for web view static page generation, laravel 5 extra features (services provider, command line)

  • Thursday, March 26, 2015
  • by Uthmordar
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

Staticify Package

packages for static page generation from view, (*2)

this package use namespacing, take care of this when using classes., (*3)

$factory=new PagesFactory(); $factory->addPage($route, $static-page-path);, (*4)

$staticify=new Staticify(); $staticify->generatePages($factory);, (*5)

LARAVEL 5 SPECIFIC FEATURES :, (*6)

register packages in config/app.php, (*7)

'Uthmordar\Staticify\StaticifyServiceProvider', (*8)

aliases \Staticify && \PagesFactory generated by the StaticifyServiceProvider if you want to use these tools in your controller. These tools have Facade accessor, you could use them as follow in laravel., (*9)

\PagesFactory::addPage(config('app.url') . $this->pages[$i], $this->statics[$i]); \Staticify::generatePages(\PagesFactory::getFactory());, (*10)

command for static pages generation, (*11)

php artisan generate:staticPages /post view.file
php artisan generate:staticPages {/post::/aboutus} {view.post::view.aboutus}

The Versions

26/03 2015

dev-master

9999999-dev

package for web view static page generation, laravel 5 extra features (services provider, command line)

  Sources   Download

MIT

The Requires

 

by Tanguy Godin