Add marp lab
This commit is contained in:
parent
612571dde3
commit
06a7e9a858
6 changed files with 238 additions and 0 deletions
126
marp/slides.md
Normal file
126
marp/slides.md
Normal file
|
@ -0,0 +1,126 @@
|
|||
---
|
||||
paginate: true
|
||||
---
|
||||
|
||||
<style>
|
||||
h1 {
|
||||
color: #24608a;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #24608a;
|
||||
}
|
||||
</style>
|
||||
|
||||
# Nix for PHP Developers
|
||||
|
||||
<br />
|
||||
|
||||
### Oliver Davies
|
||||
|
||||
https://www.oliverdavies.uk
|
||||
|
||||
---
|
||||
|
||||
What is Nix? Nixpkgs? NixOS?
|
||||
|
||||
---
|
||||
|
||||
Home Manager
|
||||
|
||||
---
|
||||
|
||||
Nixvim
|
||||
|
||||
---
|
||||
|
||||
Moved from Ansible
|
||||
|
||||
---
|
||||
|
||||
How do people have PHP installed currently?
|
||||
|
||||
---
|
||||
|
||||
# Who has project-specific versions of PHP?
|
||||
|
||||
---
|
||||
|
||||
# search.nixos.org
|
||||
|
||||
<style scoped>
|
||||
img[alt~="center"] {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 80%;
|
||||
}
|
||||
</style>
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
shell.nix
|
||||
|
||||
---
|
||||
|
||||
Flakes
|
||||
|
||||
---
|
||||
|
||||
devshells
|
||||
|
||||
---
|
||||
|
||||
```
|
||||
nix run nixpkgs#php -- -v
|
||||
|
||||
PHP 8.4.10 (cli) (built: Jul 2 2025 02:22:42) (NTS)
|
||||
Copyright (c) The PHP Group
|
||||
Zend Engine v4.4.10, Copyright (c) Zend Technologies
|
||||
with Zend OPcache v8.4.10, Copyright (c), by Zend Technologies
|
||||
```
|
||||
|
||||
```
|
||||
nix run nixpkgs#php83 -- -v
|
||||
|
||||
PHP 8.3.23 (cli) (built: Jul 1 2025 16:52:12) (NTS)
|
||||
Copyright (c) The PHP Group
|
||||
Zend Engine v4.3.23, Copyright (c) Zend Technologies
|
||||
with Zend OPcache v8.3.23, Copyright (c), by Zend Technologies
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
```
|
||||
nix develop github:opdavies/dev-shells#php82 -c composer -V
|
||||
|
||||
PHP 8.2.28 (cli) (built: Mar 11 2025 17:58:12) (NTS)
|
||||
Copyright (c) The PHP Group
|
||||
Zend Engine v4.2.28, Copyright (c) Zend Technologies
|
||||
with Zend OPcache v8.2.28, Copyright (c), by Zend Technologies
|
||||
Composer version 2.8.5 2025-01-21 15:23:40
|
||||
```
|
||||
|
||||
```
|
||||
nix develop github:opdavies/dev-shells#php83 -c composer -V
|
||||
|
||||
PHP 8.3.22 (cli) (built: Jun 3 2025 17:17:57) (NTS)
|
||||
Copyright (c) The PHP Group
|
||||
Zend Engine v4.3.22, Copyright (c) Zend Technologies
|
||||
with Zend OPcache v8.3.22, Copyright (c), by Zend Technologies
|
||||
Composer version 2.8.5 2025-01-21 15:23:40
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Services.flake
|
||||
|
||||
---
|
||||
|
||||
# Thanks
|
||||
|
||||
- https://www.oliverdavies.uk/nix-php-developers
|
||||
- https://www.oliverdavies.uk/presentations
|
||||
- https://www.oliverdavies.uk/daily
|
||||
- https://www.oliverdavies.uk/podcast
|
Loading…
Add table
Add a link
Reference in a new issue