61 Commits

Author SHA1 Message Date
Anton Medvedev
3a88b193a8 Remove deploy:check_key 2021-11-06 21:51:37 +01:00
Anton Medvedev
53f1451bf0 Remove .env.example copy from Laravel recipe 2021-11-06 16:52:13 +01:00
Anton Medvedev
92e935921e Update laravel recipe 2021-11-05 15:18:08 +01:00
Anton Medvedev
083a30003d Improve initial Laravel's .env handling 2021-10-11 22:08:37 +02:00
Loris Leiva
4b1a5f7c57
Add artisan tasks that generate keys (#2490)
Co-Authored-By: Kundan <198781+kundancool@users.noreply.github.com>

Co-authored-by: Kundan <198781+kundancool@users.noreply.github.com>
Co-authored-by: Anton Medvedev <anton@medv.io>
2021-04-04 21:11:38 +02:00
Loris Leiva
56477d1b41
Tidy artisan commands (#2488)
* Remove deploy:public_disk task

Redundant since this can be achieved with the `artisan:storage:link` task since 5.3.

5.2 support was dropped in June 2016 so it is safe to stop supporting it ourselves.

* Remove publish artisan commands

These commands are made to generate some code that should then be committed and pushed. These should never be needed directly in production.

* Add and rename artisan tasks

* Refactor artisan command registration

* Revert "Refactor artisan command registration"

Doesn't work nicely with docgen 😭

* Update laravel.md
2021-04-04 20:12:39 +03:00
Loris Leiva
7627f9ba43
Add and use new release_or_current_path (#2486)
* Add release_or_current_path option

* Use new path in platform-specific recipes

* Update CHANGELOG.md
2021-04-03 15:05:45 +03:00
ThaDaVos
4ac6e131cc
Fix for issue #2407 - Laravel migrations are only run on the first host due there being a ->once on the task (#2408)
Fix for issue #2407 - Laravel migrations are only run on the first host due there being a `->once` on the task
2021-03-07 12:12:44 +01:00
Anton Medvedev
ff110c987d
Refactor recipes (#2224) 2020-10-25 18:00:05 +03:00
Anton Medvedev
c88ebe275f Allow to change current_path 2020-10-09 01:35:42 +02:00
Anton Medvedev
47a193f9af
Add docgen 2020-10-02 01:11:13 +03:00
Joel Pittet
44f5f840c3
Laravel Task artisan:migrate should only run once (#2169)
Add once() again command that got dropped from the v7 updated commit.
2020-09-24 15:28:21 +02:00
Anton Medvedev
29a643b623 v7 2020-05-16 18:02:17 +03:00
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