PHP Classes

Laravel Package Development Skeleton: Create Laravel packages from a skeleton

Recommend this page to a friend!

  Author Author  
Picture of Dipesh Sukhia
Name: Dipesh Sukhia <contact>
Classes: 4 packages by
Country: ???
Age: ???
All time rank: 4036
Week rank: 174 Up
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This package can be used to create Laravel packages from a skeleton.

It can load a configuration script to define the details of the package skeleton.

The package provides a service provider class that loads any migrations and routes that may be necessary and calls a facade class to create the Laravel package.

Developers can add this package in their composer.json file.

Details

Laravel Package Skeleton

Packages are used to add new functionality in laravel.

How to create a laravel Package?

Create Package directory

mkdir Package

Create directory structure for package

plot

Installation

In project composer.json add

 "autoload": {
        "psr-4": {
            "App\\": "app/",
            "Database\\Factories\\": "database/factories/",
            "Database\\Seeders\\": "database/seeders/",
            "VendorName\\LaravelPackageSkeleton\\": "Package/laravel-package-skeleton/src"
        }
    },

config/app.php add in to 'providers' array

VendorName\LaravelPackageSkeleton\LaravelPackageSkeletonServiceProvider::class,

Usage

// Usage description here

use facade

LaravelPackageSkeletonFacade::getFacadeAccessor();

Credits


  Classes of Dipesh Sukhia  >  Laravel Package Development Skeleton  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog (1)  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Laravel Package Development Skeleton
Base name: laravel-package-skel
Description: Create Laravel packages from a skeleton
Version: 1.0.0
PHP version: 5
License: MIT/X Consortium License
All time users: 47 users
All time rank: 10353
Week users: 1 user
Week rank: 310 Up
 
  Groups   Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Libraries Frameworks and libraries of cooperating classes View top rated classes
Group folder image Code Generation Compilers and tools that generate code automatically View top rated classes

  Files folder image Screenshots  
dir-structure.png
File Role Description
Accessible without login Image file dir-structure.png Screen Screenshot


  Innovation Award  
PHP Programming Innovation award nominee
March 2022
Number 8
Laravel is a well-known PHP framework with a large ecosystem of PHP developers writing components to extend its core capabilities.

This package can help developers create a new Laravel package with less effort by providing a base skeleton to allow them to get started quickly.

Manuel Lemos

  User ratings  
Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imageconfig (1 file)
Files folder imagesrc (3 files, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  config  
File Role Description
  Accessible without login Plain text file config.php Aux. Auxiliary script

  Files folder image Files  /  src  
File Role Description
Files folder imageroutes (1 file)
  Plain text file LaravelPackageSkeleton.php Class Class source
  Plain text file LaravelPackageSkeletonFacade.php Class Class source
  Plain text file LaravelPackageSkel...ServiceProvider.php Class Class source

  Files folder image Files  /  src  /  routes  
File Role Description
  Accessible without login Plain text file routes.php Aux. Auxiliary script

Install with Composer Install with Composer - Download Download all files: laravel-package-skel.tar.gz laravel-package-skel.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
For more information send a message to info at phpclasses dot org.