iamine / blader
HTML Generator using Laravel Blade templating engine
v1.0.0
2021-01-12 11:37 UTC
Requires
- php: ^7.3
- codedungeon/php-cli-colors: ^1.12
- illuminate/filesystem: ^7.0|8.0
- illuminate/view: ^7.0|8.0
- symfony/console: ^5.2
- symfony/finder: ^5.2
This package is auto-updated.
Last update: 2025-03-12 20:48:16 UTC
README
HTML Generator using Laravel Blade templating engine
Requirements
- PHP > 7.3
- Node + NPM
Installation
first install a fresh project of blader
composer create-project iamine/blader blader
after you creating your project with composer cd inside project and run:
npm install
Folders Structure
source/
_assets/
_components/
_layouts/
index.blade.php
Any folder or file start with ( _ ) will be ignored during the compiling proccess.
[ _assets ] for static assets like js, sass, css.... this folder will be compiled to assets in source directory and then will be copied to the compiled directory.
[ _components ] where blade components live.
Available Commands
PHP Commands
php blader build
this will generate a compiled version of your project
NPM Commands
npm run dev
npm run watch
npm run prod
npm prod will generate a beautified version of HTML files.
LICENSE
The MIT License (MIT).