Wim Griffioen
a6ff2eb4c6
Add tasks to cache a manifest of event listeners ( #1893 )
...
* Add tasks to cache a manifest of event listeners
Laravel supports automatic discovery of events and listeners since
version 5.8.9. (https://laravel.com/docs/5.8/events#event-discovery )
As the documentation states, you want to cache the manifest of event
listeners in a production environment to prevent scanning the
directories on every request.
The new tasks are not added to the deploy task because automatic event
discovery is opt-in functionality in Laravel.
* Update CHANGELOG.md
2019-08-06 21:55:32 +03:00
Matthew Muscat
9dcd4eeab1
Update Laravel View Cache commands ( #1889 )
...
* Update artisan cache commands
- Re-add `artisan:view:clear` command
- Modify the existing `artisan:view:cache` command to remove the call to clear the cache, as this is already completed by the Laravel Framework
* Updated changelog with laravel view cache changes
* Update CHANGELOG.md
Update newline spacing to fix scrutinizer failure
2019-07-30 10:39:03 +03:00
Alex Plekhanov
0fc524ee58
Laravel view cache task ( #1860 )
...
* Substituted laravel view:clear command with view:cache command
* Added version check to view:cache task
* Updated Changelog
2019-06-11 13:16:23 +03:00
Andréas Lundgren
ef55283b4f
Add artisan:optimize:clear to Laravel recipe ( #1837 )
...
* Add artisan:optimize:clear for Laravel recipe
* Update artisan:optimize to run on newer versions of Laravel
2019-05-06 20:08:45 +08:00
Dmitri Yourchev
6cc8b14a07
Fix laravel set version ( #1729 )
...
* Fix Laravel recipe laravel_version failure
Change directory before {{bin/php}} artisan --version.
* Add change log
2018-12-18 00:37:52 +07:00
Michiel Gerritsen
d5e519a7bc
Added horizon:terminate to the Laravel recipe ( #1732 )
2018-10-10 14:08:47 +07:00
leo108
17ce9a86b0
Laravel deploy task should not call cache:clear ( #1681 )
...
* Laravel deploy task should not call cache:clear
* Update CHANGELOG.md
2018-08-28 01:08:53 +07:00
leo108
c1309f255f
Laravel Task artisan:migrate should only run once. ( #1679 )
2018-08-27 13:33:45 +07:00
Dmitry Dorogin
47c4cbffac
artisan:migrate:fresh command in laravel recipe
2017-11-06 23:27:20 +03:00
Michael Lake
fe27571212
Laravel 5.5
...
- Updated Laravel recipe to not run 'artisan:optimize' on Laravel >= 5.5, as that command is now deprecated ([see upgrade notes](https://laravel.com/docs/5.5/upgrade )).
- Version check defaults to 5.5 if not found.
2017-08-31 11:23:40 -05:00
Anton Medvedev
ae51d763b9
Add deploy:info to recipes
2017-08-12 12:01:27 +03:00
Igor Telmenko
1d84c0d329
Parsing of laravel version. More universal regex
2017-05-31 13:37:50 +03:00
Igor Telmenko
85f36abfd7
Fix a parsing of laravel version in output "php artisan --version"
2017-05-31 12:24:33 +03:00
Lucas Mezêncio
69c8f7c1e2
Fix version regex and change version check
2017-05-30 17:32:25 -03:00
Lucas Mezêncio
7abcbbe033
Compare versions using PHP's built-in function version_compare()
2017-05-28 16:20:11 -03:00
Lucas Mezêncio
54b589f11c
Change from task to configuration option
2017-05-28 16:18:41 -03:00
Lucas Mezêncio
c0f927fc70
Check Laravel version before run artisan storage:link
...
Since Laravel 5.2 does not have `artisan storage:link` command, we can't call it.
2017-05-27 23:10:44 -03:00
Lucas Mezêncio
6229d681eb
Add Laravel version task
2017-05-27 23:09:45 -03:00
Barry vd. Heuvel
ea34e19306
Link storage by default
2017-04-07 10:51:13 +02:00
Barry vd. Heuvel
4a9e2be87c
Add storage:link option
2017-04-07 10:27:29 +02:00
Lasse Lehtinen
e6e44082ec
Removed queue:restart from template
2017-02-14 17:32:00 +02:00
Lasse Lehtinen
27687cff6d
Added task for queue:restart
2017-02-13 12:30:35 +02:00
Anton Medvedev
0128aec99b
Add artisian:optimize task #901 .
2016-11-25 14:58:13 +07:00
rzb
02b8c107c3
Add artisan:view:clear command to laravel recipe
2016-11-24 10:27:18 -02:00
Anton Medvedev
c6dc030b30
Refactor common.php
2016-11-19 15:13:32 +07:00
Anton Medvedev
f68bfb4c94
Fix remove of storage on first deployment for laravel recipe #875 .
2016-11-19 14:37:52 +07:00
Anton Medvedev
3b47861225
Merge pull request #806 from vicdelfant/master
...
Don't use /current in Laravel recipe
2016-11-08 17:37:24 +07:00
Anton Medvedev
930fa6b6c0
Relative symlinks.
2016-11-05 13:40:12 +07:00
Anton Medvedev
4846c96b81
Add lock and unlock functionality.
2016-11-05 12:56:53 +07:00
Vic D'Elfant
d9ff7e358f
Check for /current/artisan existance instead of just /current
2016-10-11 18:08:55 +02:00
Vic D'Elfant
3d25d95ede
Fixed paths to artisan
2016-10-11 14:50:17 +02:00
Anton Medvedev
f9422e0f56
Merge branch 'master' into 4.x
...
# Conflicts:
# src/functions.php
2016-08-04 21:58:46 +03:00
oanhnn
48a8be919e
Fixed comment follow commit of @jrean in #645
2016-05-19 08:46:45 +07:00
Oanh Nguyen
5fef42438e
Add helper tasks for laravel recipe ( #625 )
...
* Add helper tasks for laravel recipe
* Add helper tasks for laravel recipe
* Add clear cache task and make config cache task to deploy task
* Add more artisan helper tasks
* Fix typo
2016-05-18 12:28:00 +07:00
Jean Ragouin
3f063094f9
Update laravel.php
...
typo
2016-05-05 22:27:17 +08:00
Oanh Nguyen
4238fb0c5d
Bugfix laravel recipe ( #622 )
...
* Fix laravel recipe
* Changed order task deploy:shared and deploy:vendors in laravel recipe
2016-04-13 10:32:48 +07:00
Anton Medvedev
a3733d0d81
Revert "Added function taskGroup and changed spec of function task"
...
This reverts commit 9c1e4eca2d5f4e5a3581e7602906c76c8af6ed72.
Conflicts:
test/src/FunctionsTest.php
2016-04-04 17:01:55 +07:00
oanhnn
9c1e4eca2d
Added function taskGroup and changed spec of function task
2016-02-16 09:47:26 +07:00
Anton Medvedev
5eadb573a3
Add Deployer namespace for functions.
2016-01-11 14:00:45 +07:00
Anton Medvedev
e0a1b328d0
Replace old email with new one.
2016-01-11 12:51:59 +07:00
oanhnn
a7b998fb36
Rename task 'up' and 'down' to 'deploy:up' and 'deploy:down'
2016-01-08 08:41:16 +07:00
Mattia Trapani
47a5cbeb7d
Adding useful tasks to put application in maintenance mode
2016-01-07 17:36:33 +01:00
Mattia Trapani
7dacdc8faa
Updated writable dirs
...
As per https://laravel.com/docs/5.2#configuration
2016-01-04 22:56:26 +01:00
Dimitris Savvopoulos
6a469e53ea
Fixed path for logs
2015-09-09 16:32:10 +03:00
Dimitris Savvopoulos
3289c2e78c
Updated laravel shared dirs
2015-09-09 10:58:37 +03:00
oanhnn
6b69e8f3e4
Add support file .env in Laravel 5. Add test class for laravel recipe
2015-05-28 00:41:52 +07:00
Lasse Lehtinen
525bb34d72
Shared directories and files it not getting called
2015-05-20 22:39:24 +03:00
Anton Medvedev
c3ac36d78d
Create laravel.php
2015-05-18 11:26:59 +07:00