Examples of Collection Methods: Push (6)

Short information about push

The push method appends an item to the end of the collection.
Read more in the official Laravel docs.

Repository: orchidsoftware/platform (Github)
★ 2302 Created: Nov 2016 Updated: Aug 2021 Laravel version: 8
Files in the example:
- src/Screen/Actions/Menu.php
Repository: Bottelet/DaybydayCRM (Github)
★ 1748 Created: Jul 2016 Updated: Jun 2021 Laravel version: 7
Files in the example:
- app/Http/Controllers/OffersController.php
- app/Http/Controllers/ProjectsController.php
Repository: Kovah/LinkAce (Github)
★ 822 Created: Aug 2018 Updated: Jun 2021 Laravel version: 8
Files in the example:
- app/Repositories/LinkRepository.php
Repository: agorakit/agorakit (Github)
★ 332 Created: May 2016 Updated: Jun 2021 Laravel version: 8
Files in the example:
- app/Http/Controllers/Admin/GroupAdminsController.php
Repository: spatie/spatie.be (Github)
★ 306 Created: Oct 2020 Updated: Jul 2021 Laravel version: 8
Files in the example:
- app/Support/MediaLibrary/FileSizeOptimizedWidthCalculator.php
Repository: officelifehq/officelife (Github)
★ 217 Created: Jan 2019 Updated: Aug 2021 Laravel version: 8
Files in the example:
- app/Http/ViewHelpers/Company/Project/ProjectViewHelper.php