Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
This major update has a bunch of performance updates, and more activity logs to keep track of all the actions you perform via CommandBox and the ForgeBox UI. We have made a big change to our search engine and introduced Elastic Search as the default search engine which provides better and more accurate results when searching on the site or using our search endpoint.
Version 6 has been a major undertaking spawning several months worth of work, a complete UI revamp for registered users, many bug fixes, multi-key API, and much more. We have also introduced our new Business Accounts () with the ability for organizations to have a simple and human way of managing their final package releases and their teams.
Software Directory For ColdFusion (CFML)
ForgeBox is the package repository and software directory for ColdFusion (CFML). Just leverage so you can also contribute to this directory and build amazing reusable code.

FORGEBOX allows you to publish packages that only you can see and install. You'll be able to view your private package from the CLI, in the ForgeBox.io search, and in your ForgeBox account, but these packages will now show up for any other users.
To create a private package, set the private property to true in your box.json prior to publishing.
package init
package set private=true
package set slug=my-slug@forgeBoxUser
etc...
publishReplace forgeBoxUser with your actual ForgeBox username. When you install the package, you'll need to use the full slug like so:
You can install specific versions or version ranges as you would expect:
Keep in mind that the private packages are a paid feature, however, we are giving one private package with the community plan for free for you to explore and play with it.
FORGEBOX-729 Make sure the last updated date is correct for packages when filtering by "updated" filter
FORGEBOX-730 Present Lucee extension versions in Java semver format
FORGEBOX-733 Add consistent xss mitigation on all views
FORGEBOX-739 Fix Elastic Search results and update the index properly after saving entries
Fix copy install string when viewing a cf engine package version
Add Dependency Manager
Add a link on the orgs dashboard/profile page to the Organization public profile
Improve the legal stuff pages styling that are messed up
Improve the search results and give more weight on the slug and do not apply fuzziness to all fields
Upgrade to ColdBox 7
Public ForgeBox Stats Page
Upgrade to mail services 2
Add the organizations page in the admin module
Upgrade cborm and other packages
install my-slug@forgeBoxUserinstall my-slug@[email protected]
install my-slug@forgeBoxUser@beThe free edition of FORGEBOX allows you to browse packages, install packages and publish public packages to the registry, and that way you help grow the ColdFusion (CFML) community.
With your pro account you will get the following features.
Unlimited private packages
Publish as many packages as you want, no restrictions here. The CFML community will appreciate this.
10 collaborators on private packages
Get unlimited collaborators on public packages and up to 10 collaborators on private packages.
Private package based permissions
You can have read access only or read/publish access on private packages
90 days of activity log
You will be able to see all kinds of activities such as package updates, collaboration invites, profile updates, account changes, system actions etc for up to 90 days.
50GB of storage for all packages
Up to 50GB of storage for you to store your public and private packages in the FORGEBOX cloud.
Basic support (Email + Slack)
Get access to the boxteam slack channel where you get support from the community and the Ortus members. Get basic support via Email.
The pro account is directed to the software professional or small business in need of many packages and collaborations.
This is a subscription-based plan, in order to subscribe you can go to Plan & Billing under Settings on the user sidebar.
Every FORGEBOX Enterprise includes up to 250GB of binary storage with elastic capabilities.
ForgeBox can store the binaries for your packages in the ForgeBox Cloud. This provides you with an easy way to store multiple versions of your package distributed across the globe.
To utilize ForgeBox Storage, simply set forgeboxStorage as the value of your package's location.
CommandBox:my-package> package set location=forgeboxStorageWhen you publish a package, CommandBox will automatically zip up your package and send it to ForgeBox.
Learn about the existing editions and get the one that best fits your needs.
FORGEBOX is and will be FREE forever, however, there are some editions if you want to have additional features, manage your organization and teams or even host your own instance of FORGEBOX so you can have the exclusivity and security with all the benefits of the community version.
The free edition of FORGEBOX that helps foment the ColdFusion (CFML) community. Learn more about all the features of this account here.
Directed to the software professional or small business in need of many packages and collaborations. Learn more about all the features of this account .
Directed towards organizations and teams so they can collaborate and support their software building needs. Learn more about all the features of this account .
Directed to the software professional or small business in need of many packages and collaborations. Learn more about all the features of this account .
Directed towards organizations and teams so they can collaborate and support their software building needs.
FORGEBOX Business allows you to create your organization, members and teams to contribute to your organization; have the ability to read, write, and publish public or private scoped/non-scoped packages.
Creating an organization in FORGEBOX is free for you as the owner, however, there is a cost for each extra member you add to the organization. and take your organization to the next level.
The next step is to authenticate against your endpoint using valid credentials as is shown below:
forgebox login endpointName=stg-forgebox
In order to register a new endpoint, just give it a name and set your endpoint as follows:
forgebox endpoint register stg-forgebox
https://forgebox.stg.ortushq.com/api/v1/
There are several factors that determine where a package gets installed to. Here are the ways CommandBox determines the install location in order of importance.
The value of the directory parameter passed into the install command by the user.
The value of the installPaths.packageName property set in the project's main box.json by the user. Where packageName
logboxThe value of the directory property in the package's box.json by the package author. Note, this must be a path relative to the current working directory (CWD).
Based on the package type convention if the package is a command, coldbox module, commandbox module, plugin, or interceptor.
If the package being installed is of type lucee-extensions and if the current working directory is found to have a Lucee server in it, the lex file will instead be installed to the server context's deploy folder.
The current working directory (CWD)
Once the installation directory is determined, a folder is created that matches the package's slug which is where the package is finally copied to. If the package's createPackageDirectory property is set to false in the box.json, the package will be copied to the root of the installation directory. An example of this would be a complete application that needs to go in the web root.


With your free account, you will get the following features.
Unlimited public packages
Publish as many packages as you want, with no limit on public packages. The CFML community will appreciate this.
Unlimited collaborators on public packages
On FORGEBOX you can collaborate on other users' packages and invite other users' to collaborate on your own packages.
1 private package
You will be able to create one private package for FREE so you can get to know the private package capabilities.
10GB of storage for your packages
Up to 10GB of storage for you to store packages in the FORGEBOX cloud.
7 days of activity log
You will be able to see all kinds of activities such as package updates, collaboration invites, profile updates, etc for up to 7 days.
Community support
Get to know the FORGEBOX community and get support from them.
Collaborators public community support
Collaborators can be another important resource when requiring support.
ForgeBox is an online registry of packages run by Ortus Solutions. The web UI for ForgeBox is located at http://forgebox.io. Signing up for a ForgeBox account is quick, easy, and free. You will need your own account to post packages, but anyone can browse and install packages anonymously.
There are two ways to manage your packages on FORGEBOX.
Via CommandBox
FORGEBOX Web UI
It's up to you to choose the way you interact with your packages or you can even use them both if desired.
Within the organization exists roles that can be assigned to the organization members according to their duties and permissions.
Super Admin
Controls billing & adding and removing people in the org.
Admin
Manages teams & package access.
Member
Works on packages they are given access to.
CommandBox functions as a package manager which means you can use it to locate and install code packages for you. This gives you a consistent and scriptable method to install the libraries you need in a simple manner.
install myPackageBy default, the list of available packages is on ForgeBox, our CFML code sharing site. Additional endpoints such as Git, HTTP/HTTPS, and local file/folder are also available. When a package is installed, all of its dependencies are automatically installed for you for quick, easy experience.
You can easily create your own packages and register them on FORGEBOX so the whole community can start using them.
In the CFML world, there are no global conventions for where to install things to nor where to store dependencies. Therefore, CommandBox for the most part will just stick packages in the root of your site unless you tell it otherwise. It may not be pretty, but it's as good as stock CFML apps can get. That means a lot of the cool things other package managers like NPM can do simply won't be available to you.
If you're using the ColdBox MVC Platform, congratulation! You just unlocked advanced mode! ColdBox uses conventions that tells you where to put stuff, and most importantly it has modularity as a first class citizen. Not only that, but modules can be nested infinitely to nicely encapsulate dependencies and WireBox will automatically find and register each module's models for your application to use.
Modules are basically smart packages and when CommandBox installs or uninstalls modules it will behave a bit differently to take advantage of the functionality only available to the CFML world via the ColdBox Platform.
When installing a module, it will be placed in the modules/ directory. That means the cbvalidation module will install here:
The cbvalidation module has dependencies of its own but it is an island unto itself and will encapsulate these. Therefore the cbi18n module will be installed in a modules/ folder inside cbvalidation.
You'll be able to see a nice representation of this when you use the list command.
What this opens the door for is more than one module to depend on different versions of the same second module. Both can be installed and nested under the respective parent. In the near future, WireBox will be smart enough to present these nested modules only to their parents so they are fully encapsulated.
The idea is that a module can "see" and use another module installed at the same level or higher in the hierarchy, but not lower. That makes dependencies a bit of a black box to their parents. This also allows us to bypass some redundancy. For instance, when installing a module, if a satisfying version of that module already exists at a higher level, we skip the installation. Consider this example:
We know that cbvaliation requires cbi18n, but since it is already installed in the root modules folder, we won't install it again under cbvalidation.
The last way modules are better than sliced papusas is in how they uninstall. We talked about how non-modules install-- just littered in the web root in a jumble of dependencies. When uninstalling a non-module package, CommandBox will recursively go through the dependencies and remove them as well. However, when uninstalling a module, that module's folder is simply deleted and that's it. Since all dependencies are contained in the "black box", there's no need to go hunting for them.
Inside CommandBox, use the forgebox namespace to search for packages or show packages of your choosing.
The first command to try out is "forgebox search". It takes a single parameter which is a string to perform a case-insensitive search for. Any entry whose title, summary or author name contains that text will be displayed:
The "forgebox show" command takes several parameters and is pretty flexible. The first way to use it is to just view the details of a single entry using the slug.
You can get lists of items filtered by package type (modules, interceptors, caching, etc) and ordered by popular, new, or recent. Here are some examples:
Too many results on one page? Use the built-in pagination options:
Or just pipe the output into the built-in "more" or "grep" command.
If you have trouble remembering the valid types or order by's, remember you can always hit "tab" for autocomplete within the interactive shell. Adding "help" to the end of any command will also show you the specific help for that command.
The list of types in ForgeBox is dynamic so we don't list them out in the help. Instead, we made a handy "forgebox types" command to pull the latest list of types for you.
Once you have registered your endpoint and you are authenticated, you will be able to install packages from your custom endpoint like this:
install stg-forgebox:coldbox
In the previous example you can see we are installing a coldbox package from stg-forgebox which is our custom endpoint instead of the default one.
You can remove endpoints anytime by using the remove command:
forgebox endpoint remove demo-endpoint
https://www.forgebox.io/api/v1/ is the default endpoint and you can always check your registered endpoints by typing
forgebox endpoint list
There are several options you can use to control how a package is installed.
By default, any package you install will be saved as a dependency. To save it as a development dependency instead, use the --saveDev flag.
install testbox --saveDevIf you DON'T want the package you're installing to be saved as a dependency pass save=false or negate the save flag as --!save.
When you install a package, all dependencies will be installed. If you want to skip development dependencies, use the --production flag. This will also cause CommandBox to obey the package's ignore property in its box.json.
If you're a glutton for information, or perhaps you just want to debug what's going on, set the --verbose flag to get extra debugging information out of the install command including a list of every file that's installed.
If CommandBox sees the directory that it was going to install into already exists with a newer or equal version of the package inside, it will decline to install again since it would be overwriting what's already there. If you want to install anyway, use the --force flag.
FORGEBOX-769 Search doesn't match the package slug when searching in the teams package list
Add the per-version download counts to the package version view and add the count to the version array that comes back in the entry data
Remove the ratings array from the entry response
Move this endpoint to the API (https://forgebox.io/view/coldbox/versions)
Update last updated date for a package to match the different pages that show this info across the app
replace the usage of the `prop` helper function in favor of the coldbox`forAttribute` function across the app
Update the entry versions search to allow semantic version values
Showing a graph on the package homepage with the installs counts for the last year
Show installation stats for entry and entry versions in the ForgeBox UI
Add a binaryHash field on the entryVersions table and return the value in the entry response
If you want to update your endpoint to be the default one, just do it like this:
forgebox endpoint set-default stg-forgebox
This will default your endpoint and you will be able to install packages from your endpoint without giving a namespace.
Send email notifications when adding and removing members from orgs/teams.
InvitationPending exception is not being handled when sending an invite to a user that already belong to the org
Fix the slugcheck endpoint that is only checking for slugs on active packages. it should account for the unpublish packages too
Issues with created and last published date times
ForgeBox Enterprise is an offering by Ortus Solutions that allows you to have a custom and private hosted version of ForgeBox for your company to use. You can always use the public ForgeBox version if you want too.
All the goodness of the community version, but with the exclusivity and security of your own instance to collaborate, modernize and conquer!
FORGEBOX ENTERPRISE is a hosted private software registry with exclusive security, collaboration and scalability features. Empower your development teams to build applications rapidly, modern and secure. FORGEBOX ENTERPRISE will enhance development team the following capabilities:
install cborm --!savePrivate software registry to manage and shared code packages (engines, projects, demos, modules, etc. ) across your organization.
Public or Private packages
Internal collaborators and access controls
Custom named integration with CommandBox CLI.
Fine grained User Access Control, Roles and Permissions.
Package type management
Scalable Artifact Storage
Up to 250GB of storage included
SSL Included
Software firewall included
Artifact CDN Included
Enterprise Support, SLAs and mentorship
Containerized Environment with redundancy and scalability
Package Security Audits (**Coming Soon)
Package white and black lists (**Coming Soon)
Two-factor authentication (**Coming Soon)
Single Sign On (**Coming Soon)
FORGEBOX-688 API search does not work with user's real name
FORGEBOX-615 Forgebox purge unconfirmed users errors after first one
FORGEBOX-609 On Ipad view the cards on the homepage do not look alike
FORGEBOX-597 API response when publishing with an invalid API key is incorrect
FORGEBOX-713 Search Descriptions
FORGEBOX-711 Register activity logs when publishing/unpublishing via CommandBox
FORGEBOX-707 Numbered lists are not formatting in the package view.
FORGEBOX-706 Consolidate on the security checks on the Org BaseHandler instead of each handler.
FORGEBOX-693 cborm upgrade to latest
FORGEBOX-692 ColdBox Upgrade
FORGEBOX-656 Work on responsiveness for the user & org context pages
FORGEBOX-637 Admin user editor not showing packages by user
FORGEBOX-702 Create the ITB Banner and modal for the landing page
FORGEBOX-699 Add elastic search and have the ability to switch between DBSearch and elastic search.
FORGEBOX-698 Create the entryVersionsInstalls table to record the installation tracking per version
FORGEBOX-695 Figure out how to pass API Token from Lucee to Forgebox extension provider
FORGEBOX-690 Create a public stats page for ForgeBox
FORGEBOX-675 Create a ForgeBox about landing page
FORGEBOX-622 Give users 1 private package for free with the community plan
FORGEBOX-392 Add ability to filter packages by User in the admin view
FORGEBOX-662 Create a scheduler to wipe out the activity log according to the plan the user has.




Packages can be managed through the official website and allow you to do things visually if you are not a CLI fan.
As a registered user, you will be able to access the package manager and you will be able to create, update and delete packages and its package versions.
<webroot>/modules/cbvalidationforgebox search awesomeinstall cbvalidation --production<webroot>/modules/cbvalidation/modules/cbi18nCommandBox> list
Dependency Hierarchy myApp (1.0.0)
├── coldbox (4.2.0)
└─┬ cbvalidation (1.0.0)
└── cbi18n (1.0.0)install cbi18n
install cbvalidationforgebox show coldboxforgebox show plugins
forgebox show new modules
forgebox show recent commandbox-commandsforgebox show orderby=new maxRows=10 startRow=11forgebox show new | more
forgebox show modules | grep bradforgebox help
forgebox search help
forgebox show helpforgebox typesinstall cbi18n --verboseinstall cbsoap --forcePackages are quite simply a folder that contains some code and a box.json file. A package can be a simple CFC, a self-contained library, or even an entire application. ColdBox and ContentBox modules also make great "smart" packages.
Remember, packages aren't just the things you install into your application, but your application is a package too! That's why when you install something in your app, we'll create a /box.json if it doesn't exist to start tracking your dependencies.
Your box.json file describes your package, dependencies, and how to install it. To turn a boring folder into a sweet package just run the init command in the root of the folder.
That's it. Your folder now has extra meta data in the box.json file that describes it in a way that is meaningful to ForgeBox and CommandBox.
When making a package available on ForgeBox, each version of that package has its own location. Most download locations point to a zip file, that when extracted, contains a folder with a box.json in it. The box.json designates the root of the package. However, the location property of your box.json can be any valid endpoint ID. An example would be:
In that case, the location for version 1.0.0 of this package is the v1.0.0 tag in that GitHub repository.
ForgeBox can store the binaries for your packages in the ForgeBox Cloud. This provides you with an easy way to store multiple versions of your package distributed across the globe.
To utilize ForgeBox Storage, simply set forgeboxStorage as the value of your package's location.
When you publish a package, CommandBox will automatically zip up your package and send it to ForgeBox.
Below is an example of the commands that would take you from scratch to a published package:
FORGEBOX supports private packages. Private packages are only visible to the user who created it. To create a private package, pass the private flag to the package init command.
The install command is used to tell CommandBox what you want. Here we ask for the stable release of the ColdBox MVC Platform. "coldbox" is the name of the ForgeBox slug.
install coldboxPackages should always have a box.json descriptor file inside them. This is especially true of packages installed from endpoints other than Forgebox since they don't have any other metadata available. CommandBox will install any zip file even if it doesn't have a box.json, but this isn't ideal since the name, version, and type of the package must be guessed in that instance.
If you find a package on the internet that doesn't have a box.json, please contact the maintainer and request that they add one or submit a pull request!
ForgeBox supports semantic version ranges for installing packages. Here are some examples:
When you install a package, here are the steps that are taken. Most all of this should be evident by the output streamed to the console during the install process. To get even more juicy details, use the --verbose flag while installing.
CommandBox inspects the ID passed to the install command to determine the endpoint to use.
The matching endpoint is asked to fetch the package represented by the ID.
For example, the ForgeBox endpoint checks the local artifact cache and possibly downloads the package.
If you do not already have an FORGEBOX account, you can create an account in order to publish and collaborate on packages on the public registry.
Go to the ForgeBox.io
In the user signup form, type in the fields:
Username: The username that will be displayed when you publish packages or interact with other users on forgebox.io.
Email address: Your email will be used to confirm your account and to send notifications about your account. Invites to collaborate on a package, invites to join an organization, a team etc.
Password: Your password must be at least 8 characters long
Read the , and indicate that you agree to it.
Confirm the captcha
Click Create Account.
If you haven't downloaded yet, download it and start enjoying the benefits when managing your packages on ForgeBox.
In your terminal open CommandBox by typing box
2. Type forgebox register and enter the required information to complete the registration
Note: After signing up for a ForgeBox account, you will receive an account verification email. You must verify your email address in order to publish packages to the registry.
CommandBox does more than help you install packages. It also helps you keep them up to date as well. Remember, you can always get a quick list of all the dependencies installed on your app with the list command.
To check and see if any of your installed packages can be updated to a newer version, run the update command.
CommandsIntegrating CommandBox with your own ForgeBox endpoint is very simple. Please review the available commands and follow our guide to learn how to interact with ForgeBox from the CLI.This is a list of the commands you have available to integrate with ForgeBox enterprise.
forgebox endpoint list
forgebox endpoint register
init name="My Package" version="1.0.0"forgebox endpoint removeforgebox endpoint set-default
You can always ask CommandBox for help by adding a question mark at the end of your command. example: forgebox endpoint ?





The package is unzipped and its box.json is read
Installation directory is finalized
Contents of package are copied based on the ignore and --production flag
The package is saved as a dependency in the root box.json
The package's dependencies are installed
outdatedThe table of information in the outdated and update command has several different version numbers. This is what they mean:
Package - This contains the slug and semver range you've put in your box.json file. i.e., what version you "asked" for.
Installed - This is the exact version installed right now in your project
Update - This is the newest possible version of the package that satisfies the semver range in your box.json. Not there may be newer versions of the library not shown here depending on what your semver range is allowing. A red highlight in this columns means a new version is available.
Latest - This is the absolute latest stable version of this package regardless of your semver range. In order to update to this version, you may need to run the install command again and ask specifically for it. An orange highlight in this column means a new major update is available.
If you are using a ForgeBox package, the update command will comply with the semantic versioning range you specify. For example, if you have a dependency installed with a version saved of ^2.0.0 it will update you all the way to 2.9.9 but it will never install 3.0.0 until you ask it to. This is because breaking changes come in major versions, but minor releases are supposed to be compatible.
The way CommandBox determines whether there is a new version of a package differs based on the endpoint that installed the package. Versions are always treated as a semantic version (Major.Minor.Patch).
ForgeBox - The ForgeBox REST API is used to get the latest package version.
HTTP(S) - Package is always considered outdated, and re-downloaded.
File - The box.json's version is used from the zip. If box.json doesn't exist, the package is always considered outdated.
Folder - The box.json's version is used from the folder. If box.json doesn't exist, the package is always considered outdated.
Git - Package is always considered outdated, and re-cloned.
If you want to integrate your package updates with an external process, you can get this data back as JSON so it can be parsed and used by another system.

{
"name":"my project",
"slug":"my-project",
"version":"1.0.0",
"location":"githubUser/repoName#v1.0.0"
}package set location=forgeboxStorage# Create user (first time only)
forgebox register username password [email protected] firstName lastName
forgebox login username password
# Create package
mkdir mypackage --cd
package init slug=my-package type=modules
bump --major
# Publish it
publish
# Viewable and installable by the world!
forgebox show my-package
install my-packageCommandBox:my-package> package init slug=my-package --private
- Set name = My Package
- Set slug = my-package@username
- Set version = 0.0.0
- Set private = true
- Set shortDescription = A sweet package
- Set ignore = ["**/.*","test","tests"]
Package Initialized & Created /Users/username/code/sandbox/my-package/box.json# Latest stable version
CommandBox> install foo
# Same as above
CommandBox> install foo@stable
# latest version, even if pre release (bleeding edge)
CommandBox> install foo@be
# A specific version
CommandBox> install [email protected]
# Any version with a major number of 4 (4.1, 4.2, 4.9, etc)
CommandBox> install [email protected]
# Any version greater than 1.5.0
CommandBox> install foo@>1.5.0
# Any version greater than 5.2 but less than or equal to 6.3.4
CommandBox> install "foo@>5.2 <=6.3.4"
# Any version greater than or equal to 1.2 but less than or equal to 3.2
CommandBox> install "[email protected] - 3.2"
# Allows patch-level changes if a minor version is specified. Allows minor-level changes if not. (2.1.2, 2.1.3, 2.1.4, etc)
CommandBox> install foo@~2.1
# Any greater version that does not modify the left-most non-zero digit. 4.2, 4.3, 4.9, etc
CommandBox> install foo@^4.1.4CommandBox> list
Dependency Hierarchy myApp (1.0.0)
├── coldbox (6.6.1)
└─┬ cbvalidation (3.3.0)
└── cbi18n (2.2.0)outdatedCommandBox> outdated --JSON
Resolving Dependencies, please wait...
[
{
"SHORTDESCRIPTION":"This module provides server side validation to ColdBox applications",
"VERSION":"1.0.0",
"SLUG":"cbvalidation",
"NAME":"ColdBox Validation",
"DEV":false,
"NEWVERSION":"1.0.3",
"PACKAGEVERSION":"1.0.0"
}
]