Early access

Beeline 🐝

for Magento 2 + PhpStorm

Sick of typing in Magento? Waste your time somewhere else. Create entire files, classes & blocks with just a few keystrokes.

Animated gif of beelines

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.

Code templates for PhpStorm

Beeline writes code that works for you

With 85+ 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.

How does it work?

Beeline uses intuitive naming conventions so you don't get lost.

The name matches the file

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 within a routes.xml file...

routes.xml -> m2routes

All templates are prefixed with m2, followed by the name of the file (without the extension).

Then, the magic happens 🪄

Once you pick a template, the template populates code. In this case, for a fictitious Macademy_Beeline module.

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.

Sample events.xml file generation

Then, even more magic 🧙‍♂️

Some files don't require any user input, like this example that used m2resourceModel to create a resource model.

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.

“I've been using Beeline for a little while now, and it completely changed my workflow. Developing in Magento 2 is really pleasant now! I had no idea how much I was typing until I used it for a bit. It's a game changer.”  

Time is money

Save time & get stuff done

Why spend a few minutes creating a controller class, when you can just type m2controller and be done in a few seconds?

Do things right

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.

Always up-to-date

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.

Magento 2.4+ & Day zero PHP 8 support

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.

Magento batteries needed

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.

Live templates, reimagined

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.

Buy Beeline for Magento 2 + PhpStorm

Become super productive today

Choose the best option for you or your team.

1 year
$ 89 79
one-time payment
  • Immediately pays for itself

  • Subscription-free license

  • Download full source code

  • 1 year of updates & support

$ 199 179
one-time payment
  • Immediately pays for itself

  • Subscription-free license

  • Download full source code

  • Lifetime updates & support

Graduation cap on M.academy
Beeline is included in the University.
Already a student? Set up Beeline.

“Installed Beeline for Magento 2 + PhpStorm. Excellent features. Remember a single word for the respective class or XML file. Like, m2controller for the Controller, m2block for Block class. Kudos. #LessCode”  

Rakesh Jesadiya
Rakesh Jesadiya Rakesh Jesadiya
3x Magento Master, M2 Full Stack Certified Developer, EY


Beeline is regularly updated with enhancements & bug fixes.

# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]


## 2021-06-12

### Fixed
- Fixed m2dbSchemaTableConstraintForeign not auto-populating in the correct order.
- Fixed vendorModuleCaps expression for more consistent naming conventions.

## 2021-06-02

### Updated
- Updated m2Keywords to m2keywords for faster lookups, and consistency with HTML & JavaScript templates.

## 2021-05-28

### Added
- Added initial templates for Knockout.js HTML & JavaScript.

## 2021-05-25

### Fixed
- Fixed template hint missing for m2RoutesRoot.
- Fixed invalid vendor name for m2LayoutBlock for location-scoped templates.

## 2021-05-14

### Updated
- Updated mKeywords to m2Keywords. [#2](https://github.com/mdotacademy/beeline-magento-2-phpstorm/pull/2)

## 2021-05-13

### Updated
- Updated README to document Settings Sync needing to be disabled. [#1](https://github.com/mdotacademy/beeline-magento-2-phpstorm/issues/1)

## 2021-05-07

### Added
- Initial release.

Frequently asked questions

Does Beeline being in "early access" mean it's unstable?

Absolutely not! It is flagged as "early access" just because there are a lot more templates on the way, and we'd like it to be a bit more complete before a "golden master" version is released. Beeline is extremely stable and is used for the development of many, many Magento websites today.

Are there any prerequisites to install Beeline?

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.

How will major Magento releases affect Beeline?

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.

If I purchase the 1 year option, what happens after time is up?
Before your time period expires, be sure to fork the Beeline code on GitHub or download an archive of the code. You are free to forever use the last version of Beeline you had access to at the time of expiration, but will no longer have access to product support or code updates.
Does Beeline work for code located in the `vendor` folder?
At initial release, Beeline only supports code located in the `app/code` folder. Support for code within the `vendor` folder will be considered in a future release.
How does the team purchase work?
Only purchase the team option if your business has a GitHub organization and your development team are members of it. Purchasing a team license links Beeline to your company's GitHub organization, so all members of your team can easily access & share the Beeline code.
What if I need a business invoice?
Invoices now contain fields for company name and VAT number. As long as you add your company name at checkout, you will automatically receive a business invoice emailed to you after purchase.