Wednesday, May 21, 2014

Laravel package development

Laravel package development

so ya, this will be a place of random Laravel package development notes...

  1. Laravel publish:config is not meant for package development
    • USE THIS -- php artisan config:publish --path="workbench/foo/bar/src/config" foo/bar

    • It is believed that during dev you have access to the actual config, so why publish it.
    • I prefer to publish configs for what will be private data, like private access keys
      • then I will not accidentally add my keys to the repo.

  2. Workbench packages revealed.
    1. make sure Laravel sees your package by registering the provider in the app/config.php
    2. also dump-autoload
      1. composer dump-autoload
      2. php artisan dump-autoload
  3. next..


Friday, May 2, 2014

Awesome on Coding Sucks...

I found this article thoroughly enjoyable.

Peter Welch, Coding Sucks...
So no, I'm not required to be able to lift objects weighing up to fifty pounds. I traded that for the opportunity to trim Satan's pubic hair while he dines out of my open skull so a few bits of the internet will continue to work for a few more days.