adityamenon / postcodes-io-laravel Goto Github PK
View Code? Open in Web Editor NEWLaravel package for the Postcodes.io service.
License: MIT License
Laravel package for the Postcodes.io service.
License: MIT License
vagrant@homestead:~/code/api$ composer require adityamenon/postcodes-io ~1.0
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package adityamenon/postcodes-io could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
Having checked on Packagist, this package does not show up. I'm currently using composer's repositories function instead.
Composer can be adjusted to Laravel 5 by adding "|5.*". However, the following error occurs when attempting to use the package on 5.0 after adjusting the composer requirements:
[2015-02-20 13:09:52] local.ERROR: exception 'BadMethodCallException' with message 'Call to undefined method [package]' in /home/vagrant/code/bts-api/storage/framework/compiled.php:4351
Stack trace:
#0 /home/vagrant/code/bts-api/vendor/adityamenon/postcodes-io-laravel/src/Adityamenon/PostcodesIo/PostcodesIoServiceProvider.php(21): Illuminate\Support\ServiceProvider->__call('package', Array)
#1 /home/vagrant/code/bts-api/vendor/adityamenon/postcodes-io-laravel/src/Adityamenon/PostcodesIo/PostcodesIoServiceProvider.php(21): Adityamenon\PostcodesIo\PostcodesIoServiceProvider->package('adityamenon/pos...')
#2 [internal function]: Adityamenon\PostcodesIo\PostcodesIoServiceProvider->boot()
#3 /home/vagrant/code/bts-api/storage/framework/compiled.php(922): call_user_func_array(Array, Array)
#4 /home/vagrant/code/bts-api/storage/framework/compiled.php(1501): Illuminate\Container\Container->call(Array)
#5 /home/vagrant/code/bts-api/storage/framework/compiled.php(1493): Illuminate\Foundation\Application->bootProvider(Object(Adityamenon\PostcodesIo\PostcodesIoServiceProvider))
#6 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(Adityamenon\PostcodesIo\PostcodesIoServiceProvider), 14)
#7 /home/vagrant/code/bts-api/storage/framework/compiled.php(1494): array_walk(Array, Object(Closure))
#8 /home/vagrant/code/bts-api/storage/framework/compiled.php(1768): Illuminate\Foundation\Application->boot()
#9 /home/vagrant/code/bts-api/storage/framework/compiled.php(1307): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Illuminate\Foundation\Application))
#10 /home/vagrant/code/bts-api/storage/framework/compiled.php(1879): Illuminate\Foundation\Application->bootstrapWith(Array)
#11 /home/vagrant/code/bts-api/storage/framework/compiled.php(1863): Illuminate\Foundation\Http\Kernel->bootstrap()
#12 /home/vagrant/code/bts-api/storage/framework/compiled.php(1853): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#13 /home/vagrant/code/bts-api/public/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#14 {main}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.