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)
★ 3275 Created: Nov 2016 Updated: Sep 2022 Laravel version: 8
Files in the example:
- src/Screen/Actions/Menu.php
Repository: Bottelet/DaybydayCRM (Github)
★ 2029 Created: Jul 2016 Updated: Jul 2022 Laravel version: 7
Files in the example:
- app/Http/Controllers/OffersController.php
- app/Http/Controllers/ProjectsController.php
Repository: Kovah/LinkAce (Github)
★ 1595 Created: Aug 2018 Updated: Sep 2022 Laravel version: 8
Files in the example:
- app/Repositories/LinkRepository.php
Repository: officelifehq/officelife (Github)
★ 500 Created: Jan 2019 Updated: Aug 2022 Laravel version: 8
Files in the example:
- app/Http/ViewHelpers/Company/Project/ProjectViewHelper.php
Repository: spatie/spatie.be (Github)
★ 390 Created: Oct 2020 Updated: Sep 2022 Laravel version: 8
Files in the example:
- app/Support/MediaLibrary/FileSizeOptimizedWidthCalculator.php
Repository: agorakit/agorakit (Github)
★ 360 Created: May 2016 Updated: Sep 2022 Laravel version: 8
Files in the example:
- app/Http/Controllers/Admin/GroupAdminsController.php