[Tutorial] Convert to Twig Syntax

Discussion forum for Extension Writers regarding Extension Development.
User avatar
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4917
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: [Tutorial] Convert to Twig Syntax

Post by VSE » Fri Jun 22, 2018 2:45 pm

Naguissa wrote:
Sun Jun 17, 2018 3:22 pm
3Di wrote:
Sun Jun 17, 2018 3:15 pm
On a side note, the extension's name can not be CamelCase'd if I am not wrong.
Interesting... I've not received any report about this, if so it will be a serious trouble....
Capitals are allowed.
https://www.phpbb.com/extensions/rules- ... extensions

However, keeping everything lowercase makes everything easier!

That's because if you use mixed case for the vendor and package naming, that has to be carried over exactly to the name-spacing of PHP files and in all references to the extension name such as in composer.json. Any mistakes and it will break. It's also worth noting that if developing on a Mac with a drive formatted to be case-insensitive (which is the default), then you won't realize your extension may be broken due to mistakes in getting the cases right until you deploy it to a UNIX based server.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

Post Reply

Return to “Extension Writers Discussion”