Download the PHP package jjsoft-ar/jjsoft-api without Composer
On this page you can find all versions of the php package jjsoft-ar/jjsoft-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jjsoft-ar/jjsoft-api
More information about jjsoft-ar/jjsoft-api
Files in jjsoft-ar/jjsoft-api
Package jjsoft-api
Short Description Laravel API Starter Kit for JJSoft Platform
License MIT
Homepage https://github.com/jjsoft-ar/jjsoft-api
Informations about the package jjsoft-api
JJSoft API Package
Installation
Clone this repo with minimal history:
Rename the directory and re-init it as your own package:
Configuration
The boilerplate files provide a scaffold for building your own package. You'll need to make a bunch of changes to the files we've provided to make it your own.
composer.json
Edit composer.json
to reflect your package information. At a minimum, you will need to change the package name and autoload lines so that "vendor/package" reflects your new package's name and namespace.
config/packagename.php
Rename config/packagename.php
to something more useful, like config/my-package.php
. This is the configuration file that Laravel will publish into it's config
directory. Laravel 5 doesn't use the config/packages/vendor/...
structure that Laravel 4 did, so pick a file name that's not likely to conflict with existing configuration files.
src/ServiceProvider.php
Open up src/ServiceProvider.php
as well. At a minimum you'll need to change the namespace at the top of the file (it needs to match the PSR-4 namespace you set in composer.json
).
In the boot()
method, comment out or uncomment the components your package will need. For example, if your package only has a configuration, then you can comment out everything except the handleConfigs()
call:
In the handleConfigs()
method, you'll want to change the "packagename" references to the name you chose up above (in the [config/packagename.php] instructions).
For the other methods, again change instances of "vendor" and "packagename" to your package's name.
Last Steps
Update the LICENSE
file as required (make sure it matches what you said your package's license is in composer.json
).
Finally, edit this README.md
file and replace it with a description of your own, awesome Laravel 5 package.
Commit everything to your (newly initialized) git repo, and push it wherever you'll keep your package (Github, etc.).
Enjoy coding!
All versions of jjsoft-api with dependencies
tymon/jwt-auth Version 0.5.*
dingo/api Version 1.0.*@dev
lucadegasperi/oauth2-server-laravel Version ^5.0