2017 © Pedro Peláez
 

package blade

Blade for modulusPHP

image

don47/blade

Blade for modulusPHP

  • Friday, June 8, 2018
  • by Donaldp
  • Repository
  • 1 Watchers
  • 1 Stars
  • 54 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 135 % Grown

The README.md

blade

Blade for modulusPHP, (*1)

Installing

composer require don47/blade

Setting up

Open app\Config\grammar.php and add the following code inside return, (*2)

'don47-blade' => [
  'enabled' => true,
  'class' => Don47\Grammar\Blade::class
]

Your app\Config\grammar.php file should now look like this:, (*3)

 [
    'enabled' => true,
    'class' => Don47\Grammar\Blade::class
  ]

];
```

## Examples

> if statement

```
@if ($name == 'Donald')
  

Creator of modulusPHP

@endif ``` > isset ``` @isset($creator)

The creator of modulusPHP is {{ $creator }}

@endisset ``` equivalent to: ```

The creator of modulusPHP is

The Versions

08/06 2018

dev-master

9999999-dev

Blade for modulusPHP

  Sources   Download

MIT

The Requires

 

by Donald Pakkies

08/06 2018

1.0

1.0.0.0

Blade for modulusPHP

  Sources   Download

MIT

The Requires

 

by Donald Pakkies

08/06 2018

dev-dev

dev-dev

Blade for modulusPHP

  Sources   Download

MIT

The Requires

 

by Donald Pakkies

15/05 2018

0.1

0.1.0.0

Blade for modulusPHP

  Sources   Download

MIT

by Donald Pakkies