spatie / package-skeleton-php Goto Github PK
View Code? Open in Web Editor NEWA skeleton repository for Spatie's PHP Packages
Home Page: https://laravelpackage.training
License: MIT License
A skeleton repository for Spatie's PHP Packages
Home Page: https://laravelpackage.training
License: MIT License
When attempting to guess the username, if the remote origin URL is not defined, the configure.php script will throw an "Undefined array key" warning:
https://github.com/spatie/package-skeleton-php/blob/main/configure.php#L90
Since most users are expected to use the repo as a template this may be a wontfix
, but thought I would note it.
Moving away from the master / slave terminology I propose choosing a different name for the default branch, such as main.
Hello! If I create a package with a - in the package name, the usage section in the README uses the dashes directly for a variable name, resulting in incorrect PHP.
Example: Running the configure script with vendor = Me, package name = my-first-package, class name = MFP results in:
## Usage
```php
$my-first-package = new Me\MPF();
when it should convert the variable name e.g. with slugify to $myfirstpackage.
Thanks for the great video course & this helpful skeleton!
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.