Download the PHP package glamorous/boiler without Composer
On this page you can find all versions of the php package glamorous/boiler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package boiler
Boiler
Boiler is a framework to help you create (web)projects instead of using a skeleton project. The reason why this project is built is to win time by not updating your dependencies in your skeleton project.
Installation
composer global require glamorous/boiler
Make sure the ~/.composer/vendor/bin
directory is in your system's "PATH".
How to use it?
Create a folder for your (custom) boiler templates
You can add multiple directories to allow boiler to search templates. To add a directory you only need to run:
Create a boiler templates
Single boiler-file
A boiler template is a simple yaml file with a couple of steps to execute, so the result is a project.
In the above example:
- added a README.md file
- initialize git & created first commit
Boiler directory
Just like a single boiler yaml-file, you can create a directory with the same name like the yaml-file. All files that are included in this directory will be copied to the new directory. The only file that isn't copied is the yaml-template-file.
Create a project with your created template
Creating a project based on your default.yml
template is as simple as:
The boiler script will create a directory default
and run the scripts from your template to create your project.
Extra options
--dir
Define the name of the directory yourself
--name
Define the name of the project (can be used in your template as {#PROJECT_NAME#}
)
Include templates
It's possible to include other created templates with extra functions to re-use. Instead of duplicating specific functions for every type of project, you can just include it and call it;
functions.yml
in a directory where boiler setup
was run:
default.yml
in a directory where boiler setup
was run:
Commands
boiler create my-template
: Create an application based on the "my-template".
boiler setup my/path
: Set up a directory as a template directory (path is optional, current directory will be taken).
boiler remove my/path
: Remove a directory from the template directories (path is optional, current directory will be taken).
boiler paths
: Show all included template directories.
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see all contributors.
License
The MIT License (MIT). Please see License File for more information.
All versions of boiler with dependencies
ext-json Version *
symfony/console Version ^4.1
symfony/process Version ^4.2
symfony/finder Version ^4.2
symfony/yaml Version ^4.2