https://github.com/pixney/artisan-extension
Pyro cms grouped artisan commands
https://github.com/pixney/artisan-extension
artisan laravel pyro pyrocms
Last synced: about 2 months ago
JSON representation
Pyro cms grouped artisan commands
- Host: GitHub
- URL: https://github.com/pixney/artisan-extension
- Owner: pixney
- Created: 2019-03-19T14:00:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-19T16:10:31.000Z (over 7 years ago)
- Last Synced: 2025-06-20T17:11:36.877Z (12 months ago)
- Topics: artisan, laravel, pyro, pyrocms
- Language: PHP
- Homepage: https://pixney.com
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pyro Artisan Commands
Small extension grouping common artisan commands when working with pyro.
* `php artisan pyro:clear` - Runs cache, twig, view and http cache clear.
* `php artisan pyro:compile` - Sets env variable installed to false, runs stream compile and then sets the variable back to true.
## How to install
In your composer.json file, add :
```
{
"repositories": [{
"type": "composer",
"url": "https://packages.pixney.com"
}]
}
```
then require the package:
```
composer require pixney/artisan-extension
```
Finally install the addon:
```
php artisan addon:install pixney.extension.artisan
```
## Suggested bash aliases to add to make it even easier.
```
echo "alias \"a\"='nano ~/.bash_aliases'" >> ~/.bash_aliases && source ~/.bashrc
```
```
echo "alias \"r\"='source ~/.bashrc'" >> ~/.bash_aliases && source ~/.bashrc
```
```
echo "alias \"art\"='php artisan'" >> ~/.bash_aliases && source ~/.bashrc
```
Now you just need to run `art pyro:clear` or `art pyro:compile`