These learning resources primarily focus on Test Driven Development (TDD).
- There is an emphasis on learning using PHP, Laravel and PHPUnit.
- All these resources are free (at the time of writing)
| <?php | |
| function memoize($target) { | |
| static $memo = new WeakMap; | |
| return new class ($target, $memo) { | |
| function __construct( | |
| protected $target, | |
| protected &$memo, | |
| ) {} |
| <?php | |
| use PhpCsFixer\Config; | |
| use PhpCsFixer\Finder; | |
| $rules = [ | |
| 'array_indentation' => true, | |
| 'array_syntax' => ['syntax' => 'short'], | |
| 'binary_operator_spaces' => [ | |
| 'default' => 'single_space', |
| <template> | |
| <inertia-head> | |
| <title v-if="title">{{ title }} - My App</title> | |
| <title v-else>My App</title> | |
| <slot /> | |
| </inertia-head> | |
| </template> | |
| <script> | |
| export default { |
| www,719407 | |
| api,69552 | |
| eks,67581 | |
| svc,67131 | |
| cloudapp,65945 | |
| vpn,55659 | |
| bastion,53840 | |
| ax,40676 | |
| dev,38756 |
Keep in mind that this implementation requires an api for fetching data, and assumes the following response schema:
{
"perPageOptions": [
15, 50, 100
],
"actions": [
"Delete all", "Publish All", "Unpublish All"
],