Anyone who has been a Magento developer for a while knows that calling it a "strongly typed" framework is an understatement. Sick & tired of typing in Magento, for days upon end?
After over a decade of coding in Magento, I created the tool I wish I had all these years. Simple. Straight-forward. Type a few letters... and entire files seem to magically generate, all according to Magento's best practices & coding standards.
Beeline writes code that works for you
With 96 templates & counting, this is by far the most extensive list of code templates ever created for Magento 2, but is by no means complete. The number of templates will continue to grow as more templates are added over time.
Beeline uses intuitive naming conventions so you don't get lost.
To find the name of the template, you must first know the name of the file you want to use it in.
For example, want a template for a route? Since routes are defined
routes.xml -> m2routes
All templates are prefixed with
m2, followed by the name of the file (without the extension).
Once you pick a template, the template populates code. In this
case, for a fictitious
Notice how this event name attribute is prefixed with
macademy_beeline? Beeline does that for you, automagically.
If a template needs input, it pauses right where you'd expect, and you can just start typing.
Some files don't require any user input, like this example that
m2resourceModel to create a
Beeline is smart enough to derive the namespace, class & table name, populated entirely from Magento's naming conventions.
Beeline uses Magento's naming conventions for your profit, greatly improving the efficiency of your development workflow. It also follows Magento's official coding standards, so you can be sure you are writing clean code that abides by core best practices.
Save time & get stuff done
Why spend a few minutes creating a controller class, when you can just
m2controller and be
done in a few seconds?
Unconciously code best practices
Other code generators may spit out working code, but they don't usually follow any known coding guidelines. Since this is created by M.academy, you can be sure every best practice is followed, so you'll be ahead before you even start.
Never manually update again
Beeline is automatically updated every time you restart PhpStorm, so no need to download archives or set calendar reminders for updates. It's always up to date.
Automatically use new language features
Every version from Magento 2.4 is supported. As soon as Magento supports PHP 8, Beeline will be updated with templates built upon this new PHP version, which includes new features such as constructor property promotion.
Will I still need to learn Magento?
Beeline generates tons of boilerplate code so you don't have to, but you will absolutely still need to understand Magento and how it works. If you buy this to avoid learning the stuff, you'll be sorely disappointed.
Aren't these just live templates?
Yes. But you've never seen them like this. You can create your own, if you are one of those crazies that likes spending hours building & debugging stuff with RegEx, and know all about implementing best practices in Magento.
Beeline is regularly updated with enhancements & bug fixes.
The code for Beeline is delivered by GitHub private repository, so a GitHub account is required. After purchase, you will be provided with instructions on how to access & install Beeline.
Want to see what's involved to install it? Watch the instructional videos.
When any other new major version of Magento 2 is released, such as 2.5, Beeline will provide a new template group specifically for that version. You will be able to toggle on or off templates for each respective version.
Another option is keep all sets enabled, and use template hints to determine which version of Magento the template is for. This could be useful if you are working on multiple Magento projects of varying versions at the same time.