Skip to content

Commit 1d2cf2e

Browse files
committed
Merge branch 'phptek-2024'
2 parents e695139 + 5ddbd14 commit 1d2cf2e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+7184
-4951
lines changed

.bowerrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/github-pages.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Based on https://github.com/gaerfield/reveal-md-github-pages
2+
name: Public to GitHub Pages
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
build-and-deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
with:
14+
persist-credentials: false
15+
- name: Cache node-modules
16+
uses: actions/cache@v2
17+
env:
18+
cache-name: cache-node-modules
19+
with:
20+
path: ~/.npm
21+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
22+
- name: Install and Build
23+
run: |
24+
npm install
25+
npm run build
26+
- name: Deploy
27+
uses: JamesIves/github-pages-deploy-action@releases/v3
28+
with:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
BRANCH: gh-pages
31+
FOLDER: build

.gitignore

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1+
.DS_Store
2+
.vscode
3+
build
14
node_modules
2-
bower_components
3-
dist
4-
vendor
5-
*.log
6-
.sass-cache
7-
/index.html

.jshintrc

Lines changed: 0 additions & 19 deletions
This file was deleted.

.yo-rc.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

Gruntfile.coffee

Lines changed: 0 additions & 169 deletions
This file was deleted.

README.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,31 @@ Attendees will be introduced to popular PHP CLI tools and their default capabili
88

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

11+
### Demonstrated Tools
1112

12-
## Notes and links
13-
14-
* [Symfony Console Component](http://symfony.com/doc/current/components/console/introduction.html) - Project documentation
15-
* [PHP-CLI Tools](https://github.com/wp-cli/php-cli-tools) - GitHub repository
16-
* [CLImate](https://climate.thephpleague.com/) - Project documentation
17-
* [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)
18-
* [Exit Codes with Special Meanings](http://tldp.org/LDP/abs/html/exitcodes.html) - The Linux Documentation Project
19-
* [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
20-
13+
* [Symfony Console Component](http://symfony.com/doc/current/components/console/introduction.html)
14+
* [PHP-CLI Tools](https://github.com/wp-cli/php-cli-tools)
15+
* [CLImate](https://climate.thephpleague.com/)
2116

2217
### Platform-specific CLI tools
2318

24-
* [WP-CLI](http://wp-cli.org/)
25-
* [Laravel Artisan](https://laravel.com/docs/5.1/artisan)
26-
* [Drush](http://www.drush.org/en/master/)
27-
* [Joomlatools Console](https://www.joomlatools.com/developer/tools/console/)
19+
* [WP-CLI](https://wp-cli.org)
20+
* [Laravel Artisan](https://laravel.com/docs/master/artisan)
21+
* [Drush](https://www.drush.org)
22+
* [Joomlatools Console](https://www.joomlatools.com/developer/tools/console)
2823

24+
### Additional Resources
25+
26+
* [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)
27+
* [Writing WP-CLI Commands That Work!](https://stevegrunwell.com/slides/wp-cli) - Sister talk focused on writing WP-CLI commands
28+
* [What are Exit Codes in Linux?](https://itsfoss.com/linux-exit-codes/) - Explanation of standard exit codes and their meanings
29+
* [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
30+
* [Flysystem](https://flysystem.thephpleague.com) - Popular package for filesystem operations across environments
31+
* [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)
2932

3033
## Presentation History
3134

35+
* [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))
3236
* [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))
3337
* [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))
3438
* [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))

bower.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

composer.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)