How could I make vim generate boilerplate from my php file every time I create a new file in my project?

This page summarizes the projects mentioned and recommended in the original post on /r/vim

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • ultisnips

    UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!

  • But the generic way to do something like this would be to use a snippet plugin. UltiSnips https://github.com/SirVer/ultisnips is (probably?) the most popular but there are many of them out there.

  • vim-skeletons

    Quickly scaffold template files in your favorite editor using UltiSnips templates

  • I think you're looking for vim-skeletons

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Phpactor

    Mainly a PHP Language Server with more features than you can shake a stick at

  • Or use phpactor/phpactor with a template to always get it right.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts