Skip to content

Commit

Permalink
Merge branch 'phptek-2024'
Browse files Browse the repository at this point in the history
  • Loading branch information
stevegrunwell committed Apr 21, 2024
2 parents e695139 + 5ddbd14 commit 1d2cf2e
Show file tree
Hide file tree
Showing 81 changed files with 7,184 additions and 4,951 deletions.
3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Based on https://github.com/gaerfield/reveal-md-github-pages
name: Public to GitHub Pages
on:
push:
branches: [main]

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Cache node-modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- name: Install and Build
run: |
npm install
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build
9 changes: 3 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
.DS_Store
.vscode
build
node_modules
bower_components
dist
vendor
*.log
.sass-cache
/index.html
19 changes: 0 additions & 19 deletions .jshintrc

This file was deleted.

10 changes: 0 additions & 10 deletions .yo-rc.json

This file was deleted.

169 changes: 0 additions & 169 deletions Gruntfile.coffee

This file was deleted.

30 changes: 17 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,31 @@ Attendees will be introduced to popular PHP CLI tools and their default capabili

This presentation also has [a companion repository, full of executable examples from this presentation](https://github.com/stevegrunwell/php-cli-examples).

### Demonstrated Tools

## Notes and links

* [Symfony Console Component](http://symfony.com/doc/current/components/console/introduction.html) - Project documentation
* [PHP-CLI Tools](https://github.com/wp-cli/php-cli-tools) - GitHub repository
* [CLImate](https://climate.thephpleague.com/) - Project documentation
* [Building PHP Daemons and Long Running Processes](https://prezi.com/pymsnzwlieqt/building-php-daemons-and-long-running-processes-tek15/) - Talk from php[tek] 2015 by [Tim Lytle](http://timlytle.net)
* [Exit Codes with Special Meanings](http://tldp.org/LDP/abs/html/exitcodes.html) - The Linux Documentation Project
* [Understanding Exit Codes and How to Use Them in Bash Scripts](http://bencane.com/2014/09/02/understanding-exit-codes-and-how-to-use-them-in-bash-scripts/) - Article by Benjamin Cane

* [Symfony Console Component](http://symfony.com/doc/current/components/console/introduction.html)
* [PHP-CLI Tools](https://github.com/wp-cli/php-cli-tools)
* [CLImate](https://climate.thephpleague.com/)

### Platform-specific CLI tools

* [WP-CLI](http://wp-cli.org/)
* [Laravel Artisan](https://laravel.com/docs/5.1/artisan)
* [Drush](http://www.drush.org/en/master/)
* [Joomlatools Console](https://www.joomlatools.com/developer/tools/console/)
* [WP-CLI](https://wp-cli.org)
* [Laravel Artisan](https://laravel.com/docs/master/artisan)
* [Drush](https://www.drush.org)
* [Joomlatools Console](https://www.joomlatools.com/developer/tools/console)

### Additional Resources

* [Building PHP Daemons and Long Running Processes](https://prezi.com/pymsnzwlieqt/building-php-daemons-and-long-running-processes-tek15/) - Talk from php[tek] 2015 by [Tim Lytle](http://timlytle.net)
* [Writing WP-CLI Commands That Work!](https://stevegrunwell.com/slides/wp-cli) - Sister talk focused on writing WP-CLI commands
* [What are Exit Codes in Linux?](https://itsfoss.com/linux-exit-codes/) - Explanation of standard exit codes and their meanings
* [Understanding Exit Codes and How to Use Them in Bash Scripts](http://bencane.com/2014/09/02/understanding-exit-codes-and-how-to-use-them-in-bash-scripts/) - Article by Benjamin Cane
* [Flysystem](https://flysystem.thephpleague.com) - Popular package for filesystem operations across environments
* [Cropping and Resizing Animated Gifs with Gifsicle](https://stevegrunwell.com/blog/cropping-resizing-gifsicle/) - Blog post explaining how to create animated thumbnails for gifs, which relies on calling [Gifsicle](https://www.lcdf.org/gifsicle/) via [`passthru()`](https://www.php.net/manual/en/function.passthru.php)

## Presentation History

* [php[tek] 2024](https://tek.phparch.com) — April 24, 2024 ([Joind.in](https://joind.in/event/phptek-2024/building-for-the-php-command-line-interface))
* [Midwest PHP 2019](https://2019.midwestphp.org/) — March 8, 2019 ([Joind.in](https://joind.in/talk/b9a05), [PDF](https://github.com/stevegrunwell/building-for-php-cli/releases/download/midwest-php/slides.pdf))
* [WavePHP 2018](https://wavephp.com/) — September 20, 2018 ([Joind.in](https://joind.in/talk/6908c), [PDF](https://github.com/stevegrunwell/building-for-php-cli/releases/download/wavephp-2018/slides.pdf))
* [Southeast PHP](https://southeastphp.com/) - August 17, 2018 ([Joind.in](https://joind.in/talk/ed2e4), [PDF](https://github.com/stevegrunwell/building-for-php-cli/releases/download/southeastphp-2018/slides.pdf))
Expand Down
8 changes: 0 additions & 8 deletions bower.json

This file was deleted.

30 changes: 0 additions & 30 deletions composer.json

This file was deleted.

Loading

0 comments on commit 1d2cf2e

Please sign in to comment.