Beeline for Magento 2 + PhpStorm
Beeline for Magento 2 + PhpStorm
Beeline for Magento 2 + PhpStorm

Revolutionize your Magento development workflow. Create entire files, classes & blocks with just a few keystrokes.

From tedious typing to effortless efficiency

As a Magento developer, you're likely all too familiar with the time-consuming process of creating boilerplate code and adhering to Magento's complex structure. You've probably spent countless hours typing out repetitive code, double-checking naming conventions, and ensuring you're following best practices.

But what if you could dramatically reduce this tedious work and focus on solving real development challenges instead?

Beeline transforms your Magento development workflow, allowing you to create entire files, classes, and blocks with just a few keystrokes.

Imagine generating Magento-compliant code in seconds, not minutes. Picture yourself effortlessly adhering to best practices and coding standards without constant reference to documentation. That's the power of Beeline - your ultimate companion for mastering Magento development with confidence.

Dan Staver
Beeline has excellent features. All you need to do is remember a single word for a respect class or XML, like m2controller for Controller, m2block for Block, etc. Kudos!
Rakesh Jesadiya
3x Magento MasterEY
Beeline writes code that works for you

With an unparalleled library of 96+ templates (and growing), Beeline offers the most comprehensive set of code templates ever created for Magento 2. Generate entire files, classes, and blocks with just a few keystrokes, all adhering to Magento's best practices and coding standards.

How does it work?

The name matches the file

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

routes.xml -> m2routes

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

Example of routes.xml file generation
Not 100% sure where a template goes? Hints help you out.
Sample events.xml file generation
Magic replacements without any user input.

Then, the magic happens 🪄

Automagic code population

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.

Then, even more magic 🧙‍♂️

Some files don't require any user input, like this example that usedm2resourceModel 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.

Example of creating a resource model with Beeline
Yup, Beeline created this entire file. No user input required.

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

Easy updates

Simply issue a "git pull" from your checked-out Beeline code, and everything will be automatically updated the next time you restart PhpStorm.

Magento 2.4+ & Day zero PHP 8 support

Automatically use new language features

Every version from Magento 2.4.3 is supported. Beeline supports PHP 8, so you can use all of the new language-level features in the language such as constructor property promotion and trailing commas.

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.

I am loving Beeline. It makes developing modules much less repetitive, and was exactly what I was looking for!
Michele Wickham
Senior Magento DeveloperBear Group
Dan Staver